diff options
| author | JP Dillingham <jp@dillingham.me> | 2026-05-22 12:53:56 -0500 |
|---|---|---|
| committer | JP Dillingham <jp@dillingham.me> | 2026-05-22 12:53:56 -0500 |
| commit | 085aedc2d408fa7003670c22a41bfa3ff2809698 (patch) | |
| tree | 86212d426d4d41acf423554748a109e44792fc4a /tests | |
| parent | 9376c6a3b47ecffc1f1acc880c931d784db3c18b (diff) | |
| download | slskd-085aedc2d408fa7003670c22a41bfa3ff2809698.tar.gz | |
fix copypasta
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/slskd.Tests.Unit/Common/Validation/StringAttributeTests.cs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/slskd.Tests.Unit/Common/Validation/StringAttributeTests.cs b/tests/slskd.Tests.Unit/Common/Validation/StringAttributeTests.cs index dbc82736..dbf8396f 100644 --- a/tests/slskd.Tests.Unit/Common/Validation/StringAttributeTests.cs +++ b/tests/slskd.Tests.Unit/Common/Validation/StringAttributeTests.cs @@ -41,7 +41,7 @@ public class StringAttributeTests Assert.True(isValid); var (isValid2, message2) = Validate("foo", a => a.AllowNull = false); - Assert.True(isValid); + Assert.True(isValid2); } } @@ -69,7 +69,7 @@ public class StringAttributeTests Assert.True(isValid); var (isValid2, _) = Validate("hello", a => a.AllowEmpty = true); - Assert.True(isValid); + Assert.True(isValid2); } } @@ -97,7 +97,7 @@ public class StringAttributeTests Assert.True(isValid); var (isValid2, _) = Validate("hello", a => a.AllowWhiteSpace = true); - Assert.True(isValid); + Assert.True(isValid2); } } |
