We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 481620b commit a577254Copy full SHA for a577254
test/EVM/Expr/ExprTests.hs
@@ -287,7 +287,7 @@ basicSimplificationTests = testGroup "Basic simplification tests"
287
assertEqual "~x + 1 is negation" (Sub (Lit 0) (Var "x")) simp
288
, testCase "simp-xor-maxlit-plus1" $ do
289
let simp = Expr.simplify $ Add (Lit 1) (Xor (Lit Expr.maxLit) (Var "x"))
290
- assertEqual "xor(maxLit, x) + 1 is negation" simp (Sub (Lit 0) (Var "x"))
+ assertEqual "xor(maxLit, x) + 1 is negation" (Sub (Lit 0) (Var "x")) simp
291
]
292
293
propSimplificationTests :: TestTree
0 commit comments