From cd551c5a1c26ed6fbc09e50f5c88f2b266b7174f Mon Sep 17 00:00:00 2001 From: Mike Cifelli Date: Sun, 12 Nov 2017 17:28:39 -0500 Subject: [PATCH] Reorder assertion arguments --- test/testutil/TestUtilities.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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) {