Skip to content

Commit 2080b0d

Browse files
Update Issue_54.cs
1 parent a42176b commit 2080b0d

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

tests/ImageSharp.Drawing.Tests/Issues/Issue_54.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,14 +44,14 @@ public void CanDrawWithoutMemoryException()
4444
}
4545

4646
[Fact]
47-
public void PenMustHaveAWidthGraterThanZero()
47+
public void PenMustHaveAWidthGreaterThanZero()
4848
{
4949
ArgumentOutOfRangeException ex = Assert.Throws<ArgumentOutOfRangeException>(() =>
5050
{
5151
Pen pen = new Pen(new PenOptions(Color.White, 0));
5252
});
5353

54-
Assert.StartsWith("Parameter \"width\" (System.Single) must be greater than 0, was 0", ex.Message);
54+
Assert.StartsWith("Parameter \"strokeWidth\" (System.Single) must be greater than 0, was 0", ex.Message);
5555
}
5656

5757
[Fact]

0 commit comments

Comments
 (0)