Skip to content

Commit

Permalink
Remove the duplicate variable a inside @testset
Browse files Browse the repository at this point in the history
`===` is expected to return `false` for different `Sym` instances even if their names are the same
  • Loading branch information
bowenszhu committed May 1, 2024
1 parent 6f713b3 commit 8d8bd28
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/rulesets.jl
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,7 @@ end
_f(x) = x === a
@testset "where" begin

@syms a b
@syms b
r = @rule ~x => ~x where {_f(~x)}
@eqtest r(a) == a
@test isnothing(r(b))
Expand Down

0 comments on commit 8d8bd28

Please sign in to comment.