Index: test/mjsunit/typeof.js |
diff --git a/test/mjsunit/typeof.js b/test/mjsunit/typeof.js |
index 39dec72962a4265030aa97bf050dd943143f4508..86f9e0d62f13401a9dcfbb08322fa5f21c3365f9 100644 |
--- a/test/mjsunit/typeof.js |
+++ b/test/mjsunit/typeof.js |
@@ -29,10 +29,10 @@ |
// the context of string equality comparisons. |
var r = new RegExp; |
-assertEquals('function', typeof r); |
-assertTrue(typeof r == 'function'); |
+assertEquals('object', typeof r); |
+assertTrue(typeof r == 'object'); |
+assertFalse(typeof r == 'function'); |
function test(x, y) { return x == y; } |
-assertFalse(test('object', typeof r)); |
+assertTrue(test('object', typeof r)); |
-assertFalse(typeof r == 'object'); |