Skip to content

Commit

Permalink
Merge pull request web-platform-tests#109 from jwatt/master
Browse files Browse the repository at this point in the history
Fix the assertion text in assert_less_than_equal so that assertion failures are attributed to this function; r=Ms2ger
  • Loading branch information
Ms2ger committed Feb 25, 2015
2 parents 20cfab9 + 2680ad1 commit 6b0d7bf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion testharness.js
Original file line number Diff line number Diff line change
Expand Up @@ -872,7 +872,7 @@ policies and contribution forms [3].
{type_actual:typeof actual});

assert(actual <= expected,
"assert_less_than", description,
"assert_less_than_equal", description,
"expected a number less than or equal to ${expected} but got ${actual}",
{expected:expected, actual:actual});
}
Expand Down

0 comments on commit 6b0d7bf

Please sign in to comment.