Commit c844c036 authored by yangguo's avatar yangguo Committed by Commit bot

Fix debug-script test expectation for no-snap build.

NOTRY=true
TBR=machenbach@chromium.org

Review URL: https://codereview.chromium.org/1668393004

Cr-Commit-Position: refs/heads/master@{#33772}
parent 14e8ee07
...@@ -73,8 +73,8 @@ for (i = 0; i < scripts.length; i++) { ...@@ -73,8 +73,8 @@ for (i = 0; i < scripts.length; i++) {
// This has to be updated if the number of native scripts change. // This has to be updated if the number of native scripts change.
assertEquals(%NativeScriptsCount(), named_native_count); assertEquals(%NativeScriptsCount(), named_native_count);
// The 'gc' extension and one extras script is loaded. // The 'gc' extension and one or two extras scripts are loaded.
assertEquals(2, extension_count); assertTrue(extension_count == 2 || extension_count == 3);
// This script and mjsunit.js has been loaded. If using d8, d8 loads // This script and mjsunit.js has been loaded. If using d8, d8 loads
// a normal script during startup too. // a normal script during startup too.
assertTrue(normal_count == 2 || normal_count == 3); assertTrue(normal_count == 2 || normal_count == 3);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment