Skip to content

Commit

Permalink
fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
SimonCropp committed Nov 1, 2022
1 parent 426cbea commit 66bd02c
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 13 deletions.
Original file line number Diff line number Diff line change
@@ -1,2 +1 @@
a
b
ab
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
{
s: a
}
}

This file was deleted.

6 changes: 3 additions & 3 deletions src/Verify.Tests/NewLineTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ public class NewLineTests
[Fact]
public async Task StringWithDifferingNewline()
{
var fullPath = CurrentFile.Relative("Tests.StringWithDifferingNewline.verified.txt");
var fullPath = CurrentFile.Relative("NewLineTests.StringWithDifferingNewline.verified.txt");
File.Delete(fullPath);
File.WriteAllText(fullPath, "a\r\nb");
await Verify("a\r\nb");
Expand Down Expand Up @@ -53,7 +53,7 @@ public async Task StringWithDifferingNewline()
[Fact]
public async Task TrailingNewlinesRaw()
{
var file = CurrentFile.Relative("Tests.TrailingNewlinesRaw.verified.txt");
var file = CurrentFile.Relative("NewLineTests.TrailingNewlinesRaw.verified.txt");
File.Delete(file);
var settings = new VerifySettings();
settings.DisableRequireUniquePrefix();
Expand Down Expand Up @@ -81,7 +81,7 @@ public async Task TrailingNewlinesRaw()
[Fact]
public async Task TrailingNewlinesObject()
{
var file = CurrentFile.Relative("Tests.TrailingNewlinesObject.verified.txt");
var file = CurrentFile.Relative("NewLineTests.TrailingNewlinesObject.verified.txt");
var settings = new VerifySettings();
settings.DisableRequireUniquePrefix();
var target = new
Expand Down
3 changes: 0 additions & 3 deletions src/Verify.Tests/Tests.TrailingNewlinesObject.verified.txt

This file was deleted.

2 changes: 0 additions & 2 deletions src/Verify.Tests/Tests.TrailingNewlinesRaw.verified.txt

This file was deleted.

0 comments on commit 66bd02c

Please sign in to comment.