diff options
context:
space:
mode:
-rw-r--r--test/ufuzz/index.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/ufuzz/index.js b/test/ufuzz/index.js
index 908fabd1..83823cee 100644
--- a/test/ufuzz/index.js
+++ b/test/ufuzz/index.js
@@ -1031,7 +1031,7 @@ function log_suspects(minify_options, component) {
errorln(result.error);
} else {
var r = sandbox.run_code(result.code, sandbox.has_toplevel(m));
- return sandbox.same_stdout(original_result, r);
+ return !sandbox.same_stdout(uglify_result, r);
}
}
});
@@ -1056,7 +1056,7 @@ function log_suspects_global(options) {
errorln(result.error);
} else {
var r = sandbox.run_code(result.code, sandbox.has_toplevel(m));
- return sandbox.same_stdout(original_result, r);
+ return !sandbox.same_stdout(uglify_result, r);
}
});
if (suspects.length > 0) {