Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
SimonCropp committed Dec 20, 2022
1 parent 729994b commit a3a1f60
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 21 deletions.
29 changes: 15 additions & 14 deletions src/CompactTests/Tests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -18,20 +18,21 @@ public Task Compact()
settings.DisableDiff();

return ThrowsTask(() =>
Verify(
@"Line 1 changed
Line 2
Line 3
Line 4
Line 5 changed
Line 6
Added
Line 7 changed
Line 8
Line 9
Line 10
Line 11 changed
Line 12 changed",
Verify("""
Line 1 changed
Line 2
Line 3
Line 4
Line 5 changed
Line 6
Added
Line 7 changed
Line 8
Line 9
Line 10
Line 11 changed
Line 12 changed
""",
settings));
}
}
17 changes: 10 additions & 7 deletions src/Tests/Tests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -16,19 +16,22 @@ public Task Simple()
settings.DisableDiff();

return ThrowsTask(() =>
Verify(
@"The
after
text",
Verify("""
The
after
text
""",
settings));
}

[Test]
public Task Sample()
{
var target = @"The
after
text";
var target = """
The
after
text
""";
return Verify(target);
}
}

0 comments on commit a3a1f60

Please sign in to comment.