Skip to content

Commit 3c0eb62

Browse files
committed
Update StringExtensionTests.cs
1 parent 4905f19 commit 3c0eb62

File tree

1 file changed

+1
-9
lines changed

1 file changed

+1
-9
lines changed

tests/Tests.CodeOfChaos.Extensions/StringExtensionTests.cs

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -109,15 +109,7 @@ public async Task ToGuid_ShouldThrowException_WhenInputIsInvalid(string input) {
109109
// Act
110110

111111
// Assert
112-
Assert.Throws<TUnitException>(() => input.ToGuid());
113-
}
114-
115-
116-
[Test]
117-
[Arguments("test", "00000000-0000-0000-0000-000000000000")]
118-
public async Task ToGuidAsHash_ShouldReturnSameGuid(string input, string expectedGuidString) {
119-
120-
112+
Assert.Throws<FormatException>(() => input.ToGuid());
121113
}
122114

123115
[Test]

0 commit comments

Comments
 (0)