aboutsummaryrefslogtreecommitdiff
path: root/test/ufuzz/index.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/ufuzz/index.js')
-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 616378cf..f8c6555c 100644
--- a/test/ufuzz/index.js
+++ b/test/ufuzz/index.js
@@ -1181,8 +1181,8 @@ for (var round = 1; round <= num_iterations; round++) {
}
}
} else {
- uglify_code = uglify_result = uglify_code.error;
- ok = sandbox.same_stdout(original_result, uglify_result);
+ uglify_code = uglify_code.error;
+ ok = errored && uglify_code.name == original_result.name;
}
if (verbose || (verbose_interval && !(round % INTERVAL_COUNT)) || !ok) log(options);
else if (errored) {