Browse Source

Fixed name of tests.

pull/948/head
Steven Kirk 10 years ago
parent
commit
1af559c52e
  1. 4
      tests/Avalonia.Visuals.UnitTests/Media/TypefaceTests.cs

4
tests/Avalonia.Visuals.UnitTests/Media/TypefaceTests.cs

@ -7,13 +7,13 @@ namespace Avalonia.Visuals.UnitTests.Media
public class TypefaceTests public class TypefaceTests
{ {
[Fact] [Fact]
public void Exception_Should_Be_Thrown_If_FontSize_0() public void Exception_Should_Be_Thrown_If_FontSize_LessThanEqualTo_0()
{ {
Assert.Throws<ArgumentException>(() => new Typeface("foo", 0)); Assert.Throws<ArgumentException>(() => new Typeface("foo", 0));
} }
[Fact] [Fact]
public void Exception_Should_Be_Thrown_If_FontWeight_0() public void Exception_Should_Be_Thrown_If_FontWeight_LessThanEqualTo_0()
{ {
Assert.Throws<ArgumentException>(() => new Typeface("foo", 12, weight: 0)); Assert.Throws<ArgumentException>(() => new Typeface("foo", 12, weight: 0));
} }

Loading…
Cancel
Save