Skip to content
This repository has been archived by the owner on Feb 16, 2022. It is now read-only.

Commit

Permalink
Asserted values are now in correct order
Browse files Browse the repository at this point in the history
  • Loading branch information
sawano committed Apr 9, 2018
1 parent 353042a commit 8418a49
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,9 @@ public ExpectedHeader(final String headerName) {

public void hasValue(final String value) {
final String actual = headerProvider.apply(headerName);
assertEquals("Expected header '" + headerName + "' to have value: '" + value + "', but was: '" + actual + "'.", actual, value);
assertEquals("Expected header '" + headerName + "' to have value: '" + value + "', but was: '" + actual + "'.",
value,
actual);
}
}
}

0 comments on commit 8418a49

Please sign in to comment.