Index: test/mjsunit/harmony/generators-runtime.js |
diff --git a/test/mjsunit/harmony/generators-runtime.js b/test/mjsunit/harmony/generators-runtime.js |
index 4c589a6dba1ceb6d1363c8ccd36630f71ee7ecdc..b4e8f950e1358898d31d16beddd6e36da9228a30 100644 |
--- a/test/mjsunit/harmony/generators-runtime.js |
+++ b/test/mjsunit/harmony/generators-runtime.js |
@@ -110,9 +110,6 @@ function TestGeneratorFunction() { |
// Not all functions are generators. |
assertTrue(f instanceof Function); // Sanity check. |
assertTrue(!(f instanceof GeneratorFunction)); |
- |
- assertTrue((new GeneratorFunction()) instanceof GeneratorFunction); |
- assertTrue(GeneratorFunction() instanceof GeneratorFunction); |
} |
TestGeneratorFunction(); |