Skip to content

Commit b1b62f3

Browse files
committed
Fixed thrown exception type of Constructor_CharacterStringTooLong_Throws
1 parent 741bf75 commit b1b62f3

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
@@ -45,7 +45,7 @@ public void Constructor_CharacterStringTooLong_Throws()
4545
{
4646
string longValue = new string('a', 256);
4747

48-
Assert.ThrowsExactly<DnsClientException>(() =>
48+
Assert.ThrowsExactly<ArgumentOutOfRangeException>(() =>
4949
new DnsNAPTRRecordData(
5050
0, 0,
5151
longValue,

0 commit comments

Comments
 (0)