Change toBeCloseTo matcher to be more consistent.

It now calculates and compares a difference, rather than rounding
two separate quantities and testing for their equality.
This commit is contained in:
Dave Burt
2012-07-31 15:03:55 +10:00
parent dad4865fbf
commit 7e04571ec0
4 changed files with 9 additions and 10 deletions

View File

@@ -3,5 +3,5 @@ jasmine.version_= {
"major": 1,
"minor": 2,
"build": 0,
"revision": 1337006083
"revision": 1343710612
};