Reorder assertion arguments
This commit is contained in:
parent
4ccdf9c959
commit
cd551c5a1c
|
@ -84,12 +84,12 @@ public final class TestUtilities {
|
|||
return new Cons(expressionList[0], rest);
|
||||
}
|
||||
|
||||
public static void assertSExpressionsMatch(SExpression one, SExpression two) {
|
||||
assertThat(one.toString(), is(two.toString()));
|
||||
public static void assertSExpressionsMatch(SExpression expected, SExpression actual) {
|
||||
assertThat(actual.toString(), is(expected.toString()));
|
||||
}
|
||||
|
||||
public static void assertSExpressionsDoNotMatch(SExpression one, SExpression two) {
|
||||
assertThat(one.toString(), not(two.toString()));
|
||||
public static void assertSExpressionsDoNotMatch(SExpression unexpected, SExpression actual) {
|
||||
assertThat(actual.toString(), not(unexpected.toString()));
|
||||
}
|
||||
|
||||
public static void assertIsErrorWithMessage(LispException e) {
|
||||
|
|
Loading…
Reference in New Issue