Skip to content

Commit 2c94e05

Browse files
committed
Fixed thrown exception type of Constructor_NonAsciiCharacter_Throws
1 parent b1b62f3 commit 2c94e05

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

TechnitiumLibrary.UnitTests/TechnitiumLibrary.Net/Dns/ResourceRecords/DnsNAPTRRecordDataTests.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ public void Constructor_CharacterStringTooLong_Throws()
5757
[TestMethod]
5858
public void Constructor_NonAsciiCharacter_Throws()
5959
{
60-
Assert.ThrowsExactly<DnsClientException>(() =>
60+
Assert.ThrowsExactly<ArgumentException>(() =>
6161
new DnsNAPTRRecordData(
6262
0, 0,
6363
"Ü",

0 commit comments

Comments
 (0)