@@ -533,31 +533,31 @@ defmodule ExceptionTest do
533533 test "annotates band arithmetic errors" do
534534 use Bitwise
535535
536- assert blame_message ( :foo , & band ( 10 , & 1 ) ) ==
537- "bad argument in arithmetic expression: Bitwise.band(10, :foo)"
536+ assert blame_message ( :foo , & band ( & 1 , 10 ) ) ==
537+ "bad argument in arithmetic expression: Bitwise.band(:foo, 10 )"
538538
539- assert blame_message ( :foo , & ( 10 &&& & 1 ) ) ==
540- "bad argument in arithmetic expression: Bitwise.band(10, :foo)"
539+ assert blame_message ( :foo , & ( & 1 &&& 10 ) ) ==
540+ "bad argument in arithmetic expression: Bitwise.band(:foo, 10 )"
541541 end
542542
543543 test "annotates bor arithmetic errors" do
544544 use Bitwise
545545
546- assert blame_message ( :foo , & bor ( 10 , & 1 ) ) ==
547- "bad argument in arithmetic expression: Bitwise.bor(10, :foo)"
546+ assert blame_message ( :foo , & bor ( & 1 , 10 ) ) ==
547+ "bad argument in arithmetic expression: Bitwise.bor(:foo, 10 )"
548548
549- assert blame_message ( :foo , & ( 10 ||| & 1 ) ) ==
550- "bad argument in arithmetic expression: Bitwise.bor(10, :foo)"
549+ assert blame_message ( :foo , & ( & 1 ||| 10 ) ) ==
550+ "bad argument in arithmetic expression: Bitwise.bor(:foo, 10 )"
551551 end
552552
553553 test "annotates bxor arithmetic errors" do
554554 use Bitwise
555555
556- assert blame_message ( :foo , & bxor ( 10 , & 1 ) ) ==
557- "bad argument in arithmetic expression: Bitwise.bxor(10, :foo)"
556+ assert blame_message ( :foo , & bxor ( & 1 , 10 ) ) ==
557+ "bad argument in arithmetic expression: Bitwise.bxor(:foo, 10 )"
558558
559- assert blame_message ( :foo , & ( 10 ^^^ & 1 ) ) ==
560- "bad argument in arithmetic expression: Bitwise.bxor(10, :foo)"
559+ assert blame_message ( :foo , & ( & 1 ^^^ 10 ) ) ==
560+ "bad argument in arithmetic expression: Bitwise.bxor(:foo, 10 )"
561561 end
562562
563563 test "annotates bsl arithmetic errors" do
0 commit comments