Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
vidjil
vidjil
Commits
a85bd72e
Commit
a85bd72e
authored
Apr 05, 2017
by
Mathieu Giraud
Browse files
qunit-vidjil.js: better message for assert.includes()
parent
07d5cbbe
Changes
1
Hide whitespace changes
Inline
Side-by-side
browser/test/QUnit/qunit-vidjil.js
View file @
a85bd72e
...
...
@@ -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
,
res
ult
,
"
{includes}
"
+
pattern
,
message
);
}
QUnit
.
assert
.
approx
=
function
(
result
,
expected
,
margin
,
message
)
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment