Skip to content

Commit

Permalink
- t fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
LarsEckart committed May 6, 2024
1 parent 17ccb93 commit 39e5476
Showing 1 changed file with 4 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -148,11 +148,12 @@ void testSemiAutomatic()
void testAutomatic()
{
var expected = """
hello Oskar
""";
hello Oskar
""";
Options options = new Options().inline("", InlineOptions.automatic());
Mutable<String> result = hijackInlineReporter(options);
assertApprovalFailure("hello Oskar", options,
e -> assertEquals(expected, hijackInlineReporter(options).get()));
e -> assertEquals(expected, result.get()));
}
private static void assertApprovalFailure(String actual, Options options, Action1<Throwable> azzert)
{
Expand Down

0 comments on commit 39e5476

Please sign in to comment.