Browse Source

Fixed name of tests.

Steven Kirk 8 years ago
parent
commit
1af559c52e
1 changed files with 2 additions and 2 deletions
  1. 2 2
      tests/Avalonia.Visuals.UnitTests/Media/TypefaceTests.cs

+ 2 - 2
tests/Avalonia.Visuals.UnitTests/Media/TypefaceTests.cs

@@ -7,13 +7,13 @@ namespace Avalonia.Visuals.UnitTests.Media
     public class TypefaceTests
     {
         [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));
         }
 
         [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));
         }