Fixed 'Diff' imports and added test

This commit is contained in:
n1474335 2017-03-27 19:39:04 +01:00
parent 559e32a16a
commit ed21dff88f
8 changed files with 20 additions and 9 deletions

View file

@ -23,4 +23,15 @@ TestRegister.addTests([
}
],
},
{
name: "Diff, basic usage",
input: "testing23\n\ntesting123",
expectedOutput: "testing<span class='hlgreen'>1</span>23",
recipeConfig: [
{
"op": "Diff",
"args": ["\\n\\n", "Character", true, true, false]
}
],
},
]);