diff --git a/test/testutil/TestUtilities.java b/test/testutil/TestUtilities.java index 94e6c2a..fd833d6 100644 --- a/test/testutil/TestUtilities.java +++ b/test/testutil/TestUtilities.java @@ -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) {