Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Fix unit test for precision change
  • Loading branch information
lukeapage committed Mar 21, 2012
1 parent 741df6a commit 025d4b5
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/dotless.Test/Specs/OperationsFixture.cs
Expand Up @@ -19,12 +19,12 @@ public void Operations()
[Test]
public void OperationsAndPrecisions()
{
AssertExpression("3.33px", "10px / 3"); // TODO - check px allowed precision
AssertExpression("3.33px", "10 / 3px"); // TODO - check px allowed precision
AssertExpression("3.333333333px", "10px / 3"); // TODO - check px allowed precision
AssertExpression("3.333333333px", "10 / 3px"); // TODO - check px allowed precision
AssertExpression("1.875em", "15 / 8em");
AssertExpression("1.875em", "15em / 8");
AssertExpression("0.3333%", "1 / 3%");
AssertExpression("0.3333%", "1% / 3");
AssertExpression("0.333333333%", "1 / 3%");
AssertExpression("0.333333333%", "1% / 3");
}

[Test]
Expand Down

0 comments on commit 025d4b5

Please sign in to comment.