Skip to content

Commit 9acc65a

Browse files
ElStefanStefan Lampertvbreuss
authored
fix: Remove single quotes from test (#329)
The `GetFiles_MissingDirectory_ShouldThrowDirectoryNotFoundException` test failed because exceptions are thrown in German on my system and with double quotes, therefore I deleted the quotes from the assertion. Co-authored-by: Stefan Lampert <[email protected]> Co-authored-by: Valentin Breuß <[email protected]>
1 parent e78d655 commit 9acc65a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Tests/Testably.Abstractions.Tests/FileSystem/Directory/GetFilesTests.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ public void
2121
Record.Exception(()
2222
=> FileSystem.Directory.GetFiles(path).ToList());
2323

24-
exception.Should().BeException<DirectoryNotFoundException>($"'{expectedPath}'.",
24+
exception.Should().BeException<DirectoryNotFoundException>(expectedPath,
2525
hResult: -2147024893);
2626
FileSystem.Directory.Exists(path).Should().BeFalse();
2727
}

0 commit comments

Comments
 (0)