mirror of
https://github.com/fluencelabs/assemblyscript
synced 2025-06-13 06:51:34 +00:00
Builtins rewrite with type parameter inference; Small integer math optimizations; Switchify
This commit is contained in:
@ -2,7 +2,7 @@ var JsDiff = require("diff");
|
||||
var chalk = require("chalk");
|
||||
|
||||
module.exports = function diff(filename, expected, actual) {
|
||||
var diff = JsDiff.structuredPatch(filename, filename, expected, actual, "expected", "actual", { context: 2 });
|
||||
var diff = JsDiff.structuredPatch(filename, filename, expected, actual, "expected", "actual", { context: 5 });
|
||||
if (!diff.hunks.length)
|
||||
return null;
|
||||
|
||||
|
Reference in New Issue
Block a user