Skip to content

Commit 474267f

Browse files
committed
t swap expected&actual so that the error message is correct
1 parent aec3260 commit 474267f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

approvaltests-tests/src/test/java/org/approvaltests/scrubbers/DateScrubberTests.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ void testSupportedFormatWorksForExamples()
2323
DateScrubber dateScrubber = new DateScrubber(supportedFormat.getRegex());
2424
for (String example : supportedFormat.getExamples())
2525
{
26-
assertEquals(dateScrubber.scrub(example), "[Date1]",
26+
assertEquals("[Date1]", dateScrubber.scrub(example),
2727
() -> "didn't work for regex " + supportedFormat.getRegex());
2828
}
2929
}

0 commit comments

Comments
 (0)