Skip to content

Commit

Permalink
Fixed the orderd of expected vs actual.
Browse files Browse the repository at this point in the history
  • Loading branch information
oshoukry committed Feb 12, 2018
1 parent 6d12158 commit 068c790
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ public void shouldInvokeUsingConstructorArgs() {
assertThat(ap, notNullValue());
}

private void assertType(Class expected, Class actual) {
private void assertType(Class actual, Class expected) {
assertTrue("Expected [" + expected + "], but was [" + actual + "]", expected.equals(actual));
}

Expand Down

0 comments on commit 068c790

Please sign in to comment.