Skip to content
This repository was archived by the owner on Dec 12, 2024. It is now read-only.

Commit cf08523

Browse files
author
Stephen Hawley
committed
plurality
1 parent dd11908 commit cf08523

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/tom-swifty-test/Extensions.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,12 +32,12 @@ public static void CopyTo (this Stream stm, Stream source, int blockSize = 4096)
3232

3333
public static void AssertNoErrors (this ErrorHandling errors, string whileDoing)
3434
{
35-
Assert.IsFalse (errors.AnyErrors, $"{errors.ErrorCount} errors while {whileDoing}");
35+
Assert.IsFalse (errors.AnyErrors, $"{errors.ErrorCount} error(s) while {whileDoing}");
3636
}
3737

3838
public static void AssertNoWarnings (this ErrorHandling errors, string whileDoing)
3939
{
40-
Assert.IsTrue (errors.WarningCount == 0, $"{errors} errors while {whileDoing}");
40+
Assert.IsTrue (errors.WarningCount == 0, $"{errors} warning(s) while {whileDoing}");
4141
}
4242
}
4343
}

0 commit comments

Comments
 (0)