Chromium Code Reviews| Index: test/mjsunit/object-is.js |
| diff --git a/test/mjsunit/object-is.js b/test/mjsunit/object-is.js |
| index b9fdc8442068b4d7c50c06cb0eb8a134b8e9a7f3..74b5306637ee0e6961e95d9a4134e53ca1248dbc 100644 |
| --- a/test/mjsunit/object-is.js |
| +++ b/test/mjsunit/object-is.js |
| @@ -32,7 +32,9 @@ function TestEgal(expected, x, y) { |
| assertSame(expected, Object.is(x, y)); |
| } |
| -var test_set = [ {}, [], 1/0, -1/0, "s", 0, 0/-1, null, undefined ]; |
| +var test_set = [ {}, [], Number.POSITIVE_INFINITY, Number.NEGATIVE_INFINITY, |
|
arv (Not doing code reviews)
2014/10/04 16:12:06
Use Infinity and -Infinity instead? These tests ar
|
| + "s", "ア", 0, 0/-1, null, undefined, true, false, Symbol("foo"), |
| + Number.NaN ]; |
|
arv (Not doing code reviews)
2014/10/04 16:12:06
NaN
|
| print(test_set); |
|
arv (Not doing code reviews)
2014/10/04 16:12:06
remove print?
|
| for (var i = 0; i < test_set.length; i++) { |
| for (var j = 0; j < test_set.length; j++) { |