Index: test/mjsunit/mirror-unresolved-function.js |
=================================================================== |
--- test/mjsunit/mirror-unresolved-function.js (revision 1863) |
+++ test/mjsunit/mirror-unresolved-function.js (working copy) |
@@ -57,6 +57,7 @@ |
assertFalse(mirror.isPrimitive()); |
assertEquals("Function", mirror.className()); |
assertEquals("f", mirror.name()); |
+assertEquals('undefined', typeof mirror.inferredName()); |
assertFalse(mirror.resolved()); |
assertEquals(void 0, mirror.source()); |
assertEquals('undefined', mirror.constructorFunction().type()); |
@@ -75,4 +76,5 @@ |
assertEquals('undefined', refs.lookup(fromJSON.prototypeObject.ref).type, 'Unexpected prototype object type in JSON'); |
assertFalse(fromJSON.resolved); |
assertEquals("f", fromJSON.name); |
+assertFalse('inferredName' in fromJSON); |
assertEquals(void 0, fromJSON.source); |