Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

2 tests in test_setmacro are failing #181

Open
stkgo opened this issue Dec 21, 2024 · 2 comments
Open

2 tests in test_setmacro are failing #181

stkgo opened this issue Dec 21, 2024 · 2 comments

Comments

@stkgo
Copy link

stkgo commented Dec 21, 2024

Hello, I am trying to build the package on GNU Guix and am seeing these two tests fail:

setmacro, lensmacro isolation: Test Failed at /gnu/store/090nkk2hxasylmc49jx7jqq6i014j98r-julia-setfield-1.1.1/share/julia/loadpath/Setfield/test/test_setmacro.jl:44
  Expression: m2 === #= /gnu/store/090nkk2hxasylmc49jx7jqq6i014j98r-julia-setfield-1.1.1/share/julia/loadpath/Setfield/test/test_setmacro.jl:44 =# @SMatrix([0 1; 0 0])
   Evaluated: [0 1; 0 0] === [0 1; 0 0]
Stacktrace:
 [1] macro expansion
   @ /gnu/store/d8ssakh0ys150jqmya3pvvi131adgwzf-julia-1.8.3/share/julia/stdlib/v1.8/Test/src/Test.jl:464 [inlined]
 [2] macro expansion
   @ /gnu/store/090nkk2hxasylmc49jx7jqq6i014j98r-julia-setfield-1.1.1/share/julia/loadpath/Setfield/test/test_setmacro.jl:44 [inlined]
 [3] macro expansion
   @ /gnu/store/d8ssakh0ys150jqmya3pvvi131adgwzf-julia-1.8.3/share/julia/stdlib/v1.8/Test/src/Test.jl:1360 [inlined]
 [4] top-level scope
   @ /gnu/store/090nkk2hxasylmc49jx7jqq6i014j98r-julia-setfield-1.1.1/share/julia/loadpath/Setfield/test/test_setmacro.jl:26
setmacro, lensmacro isolation: Test Failed at /gnu/store/090nkk2hxasylmc49jx7jqq6i014j98r-julia-setfield-1.1.1/share/julia/loadpath/Setfield/test/test_setmacro.jl:46
  Expression: m3 === #= /gnu/store/090nkk2hxasylmc49jx7jqq6i014j98r-julia-setfield-1.1.1/share/julia/loadpath/Setfield/test/test_setmacro.jl:46 =# @SMatrix([1 0; 0 0])
   Evaluated: [1 0; 0 0] === [1 0; 0 0]
Stacktrace:
 [1] macro expansion
   @ /gnu/store/d8ssakh0ys150jqmya3pvvi131adgwzf-julia-1.8.3/share/julia/stdlib/v1.8/Test/src/Test.jl:464 [inlined]
 [2] macro expansion
   @ /gnu/store/090nkk2hxasylmc49jx7jqq6i014j98r-julia-setfield-1.1.1/share/julia/loadpath/Setfield/test/test_setmacro.jl:46 [inlined]
 [3] macro expansion
   @ /gnu/store/d8ssakh0ys150jqmya3pvvi131adgwzf-julia-1.8.3/share/julia/stdlib/v1.8/Test/src/Test.jl:1360 [inlined]
 [4] top-level scope
   @ /gnu/store/090nkk2hxasylmc49jx7jqq6i014j98r-julia-setfield-1.1.1/share/julia/loadpath/Setfield/test/test_setmacro.jl:26
Test Summary:                 | Pass  Fail  Total  Time
setmacro, lensmacro isolation |   12     2     14  1.5s

It looks like this should be passing. Any thoughts on why these would be registered as failing?

@jw3126
Copy link
Owner

jw3126 commented Dec 21, 2024

Probably they are == but not ===. You could print their types

@jw3126
Copy link
Owner

jw3126 commented Dec 21, 2024

I cannot reproduce these test failures on my machine.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants