Skip to content

Commit acf1c04

Browse files
committed
remove unnecessary nullability
1 parent ceefbd8 commit acf1c04

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/bunit.web.query/TestIds/TestIdNotFoundException.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,13 +9,13 @@ public sealed class TestIdNotFoundException : Exception
99
/// <summary>
1010
/// Gets the test id used to search with.
1111
/// </summary>
12-
public string? TestId { get; }
12+
public string TestId { get; }
1313

1414
/// <summary>
1515
/// Initializes a new instance of the <see cref="TestIdNotFoundException"/> class.
1616
/// </summary>
1717
/// <param name="testId">The test id that was searched for.</param>
18-
public TestIdNotFoundException(string? testId = null)
18+
public TestIdNotFoundException(string testId)
1919
: base($"Unable to find an element with the Test ID '{testId}'.")
2020
{
2121
TestId = testId;

0 commit comments

Comments
 (0)