Skip to content

Commit

Permalink
invalid char tests
Browse files Browse the repository at this point in the history
  • Loading branch information
SimonCropp committed Oct 7, 2023
1 parent b5397be commit 6f06ce8
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
a-a
4 changes: 4 additions & 0 deletions src/Verify.Tests/Naming/NameForParameterTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,10 @@ public Task Null() =>
public Task StringEmpty() =>
Verify(VerifierSettings.GetNameForParameter(""));

[Fact]
public Task StringInvalidPathChar() =>
Verify(VerifierSettings.GetNameForParameter("a/a"));

[Fact]
public Task Int() =>
Verify(VerifierSettings.GetNameForParameter(10));
Expand Down

0 comments on commit 6f06ce8

Please sign in to comment.