Skip to content

Commit

Permalink
Update Thirdweb.Utils.Tests.cs
Browse files Browse the repository at this point in the history
  • Loading branch information
0xFirekeeper committed Apr 12, 2024
1 parent 52e6c80 commit fb93f92
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Thirdweb.Tests/Thirdweb.Utils.Tests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -189,14 +189,14 @@ public void ToWei_ConvertsCorrectly()
public void ToWei_ThrowsOnInvalidInput()
{
var invalidEth = "abc";
Assert.Throws<ArgumentException>(() => Utils.ToWei(invalidEth));
_ = Assert.Throws<ArgumentException>(() => Utils.ToWei(invalidEth));
}

[Fact]
public void ToWei_ThrowsExceptionForInvalidInput()
{
var invalidEth = "invalid";
Assert.Throws<ArgumentException>(() => Utils.ToWei(invalidEth));
_ = Assert.Throws<ArgumentException>(() => Utils.ToWei(invalidEth));
}

[Fact]
Expand Down

0 comments on commit fb93f92

Please sign in to comment.