Reorder assertion arguments

This commit is contained in:
Mike Cifelli 2017-11-12 17:28:39 -05:00
parent 4ccdf9c959
commit cd551c5a1c
1 changed files with 4 additions and 4 deletions

View File

@ -84,12 +84,12 @@ public final class TestUtilities {
return new Cons(expressionList[0], rest); return new Cons(expressionList[0], rest);
} }
public static void assertSExpressionsMatch(SExpression one, SExpression two) { public static void assertSExpressionsMatch(SExpression expected, SExpression actual) {
assertThat(one.toString(), is(two.toString())); assertThat(actual.toString(), is(expected.toString()));
} }
public static void assertSExpressionsDoNotMatch(SExpression one, SExpression two) { public static void assertSExpressionsDoNotMatch(SExpression unexpected, SExpression actual) {
assertThat(one.toString(), not(two.toString())); assertThat(actual.toString(), not(unexpected.toString()));
} }
public static void assertIsErrorWithMessage(LispException e) { public static void assertIsErrorWithMessage(LispException e) {