Title: [201632] trunk/LayoutTests
Revision
201632
Author
[email protected]
Date
2016-06-02 19:54:05 -0700 (Thu, 02 Jun 2016)

Log Message

Fix a typo in the clz32() tests

Patch by Benjamin Poulain <[email protected]> on 2016-06-02
Rubber-stamped by Joseph Pecoraro.

Joe found a bug in math-clz32.js: I typed INFINITI instead of INFINITY.
The tests was effectively checking "undefined" instead of infinity.

* js/math-clz32-expected.txt:
* js/script-tests/math-clz32.js:
(objectRecordConversionCalls.valueOf):

Modified Paths

Diff

Modified: trunk/LayoutTests/ChangeLog (201631 => 201632)


--- trunk/LayoutTests/ChangeLog	2016-06-03 01:34:19 UTC (rev 201631)
+++ trunk/LayoutTests/ChangeLog	2016-06-03 02:54:05 UTC (rev 201632)
@@ -1,3 +1,16 @@
+2016-06-02  Benjamin Poulain  <[email protected]>
+
+        Fix a typo in the clz32() tests
+
+        Rubber-stamped by Joseph Pecoraro.
+
+        Joe found a bug in math-clz32.js: I typed INFINITI instead of INFINITY.
+        The tests was effectively checking "undefined" instead of infinity.
+
+        * js/math-clz32-expected.txt:
+        * js/script-tests/math-clz32.js:
+        (objectRecordConversionCalls.valueOf):
+
 2016-06-02  Chris Dumez  <[email protected]>
 
         [WebIDL] 'undefined' should be an acceptable value for nullable parameters

Modified: trunk/LayoutTests/js/math-clz32-expected.txt (201631 => 201632)


--- trunk/LayoutTests/js/math-clz32-expected.txt	2016-06-03 01:34:19 UTC (rev 201631)
+++ trunk/LayoutTests/js/math-clz32-expected.txt	2016-06-03 02:54:05 UTC (rev 201632)
@@ -25,8 +25,8 @@
 PASS Math.clz32(Math.PI) is 30
 PASS Math.clz32(Math.E) is 30
 PASS Math.clz32(NaN) is 32
-PASS Math.clz32(Number.POSITIVE_INFINITI) is 32
-PASS Math.clz32(Number.NEGATIVE_INFINITI) is 32
+PASS Math.clz32(Number.POSITIVE_INFINITY) is 32
+PASS Math.clz32(Number.NEGATIVE_INFINITY) is 32
 PASS Math.clz32() is 32
 PASS Math.clz32(undefined) is 32
 PASS Math.clz32(null) is 32

Modified: trunk/LayoutTests/js/script-tests/math-clz32.js (201631 => 201632)


--- trunk/LayoutTests/js/script-tests/math-clz32.js	2016-06-03 01:34:19 UTC (rev 201631)
+++ trunk/LayoutTests/js/script-tests/math-clz32.js	2016-06-03 02:54:05 UTC (rev 201632)
@@ -28,8 +28,8 @@
 shouldBe('Math.clz32(Math.PI)', '30');
 shouldBe('Math.clz32(Math.E)', '30');
 shouldBe('Math.clz32(NaN)', '32');
-shouldBe('Math.clz32(Number.POSITIVE_INFINITI)', '32');
-shouldBe('Math.clz32(Number.NEGATIVE_INFINITI)', '32');
+shouldBe('Math.clz32(Number.POSITIVE_INFINITY)', '32');
+shouldBe('Math.clz32(Number.NEGATIVE_INFINITY)', '32');
 
 shouldBe('Math.clz32()', '32');
 shouldBe('Math.clz32(undefined)', '32');
@@ -72,4 +72,4 @@
     }
 };
 shouldBe('Math.clz32(objectRecordConversionCalls)', '15');
-shouldBe('objectRecordConversionCalls.callList.toString()', '"valueOf"');
\ No newline at end of file
+shouldBe('objectRecordConversionCalls.callList.toString()', '"valueOf"');
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to