Index: test/mjsunit/debug-script.js |
diff --git a/test/mjsunit/debug-script.js b/test/mjsunit/debug-script.js |
index 80d423e10bf5806fb7bb2079ce675b18541f29e8..449d2c9b8f75359890568c31bb212691d25cdcff 100644 |
--- a/test/mjsunit/debug-script.js |
+++ b/test/mjsunit/debug-script.js |
@@ -59,7 +59,7 @@ for (i = 0; i < scripts.length; i++) { |
} |
// This has to be updated if the number of native scripts change. |
-assertTrue(named_native_count == 19 || named_native_count == 20); |
+assertEquals(21, named_native_count); |
// Only the 'gc' extension is loaded. |
assertEquals(1, extension_count); |
// This script and mjsunit.js has been loaded. If using d8, d8 loads |