Index: test/mjsunit/modules-error-trace.js |
diff --git a/test/mjsunit/modules-circular-valid.js b/test/mjsunit/modules-error-trace.js |
similarity index 52% |
copy from test/mjsunit/modules-circular-valid.js |
copy to test/mjsunit/modules-error-trace.js |
index e381eefdbc8242c0a6acd38fe7ac05e1d45d6130..bbf83c510ddb24f9802a935d7d92476541ce0a8f 100644 |
--- a/test/mjsunit/modules-circular-valid.js |
+++ b/test/mjsunit/modules-error-trace.js |
@@ -4,4 +4,6 @@ |
// |
// MODULE |
-export {a as b} from "modules-skip-circular-valid.js"; |
+// Make sure the generator resume function doesn't show up in the stack trace. |
+const stack = (new Error).stack; |
+assertEquals(2, stack.split(/\r\n|\r|\n/).length); |