Commit a85bd72e authored by Mathieu Giraud's avatar Mathieu Giraud
Browse files

qunit-vidjil.js: better message for assert.includes()

parent 07d5cbbe
......@@ -5,7 +5,7 @@ QUnit.assert.includes = function(result, pattern, message ) {
// TODO: see and use qunit-regexp !
var res = result.indexOf(pattern) > -1
this.push(res, res, "{includes} " + pattern, message);
this.push(res, result, "{includes} " + pattern, message);
}
QUnit.assert.approx = function(result, expected, margin, message ) {
......
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