Skip to content

Commit 741bf75

Browse files
committed
Fixed the exception type in Constructor_InvalidJson_Throws
1 parent 2ee460c commit 741bf75

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ public void Constructor_ValidInput_Succeeds()
2525
[TestMethod]
2626
public void Constructor_InvalidJson_Throws()
2727
{
28-
Assert.ThrowsExactly<ArgumentException>(() =>
28+
Assert.Throws<System.Text.Json.JsonException>(() =>
2929
new DnsApplicationRecordData(
3030
"app",
3131
"path",

0 commit comments

Comments
 (0)