[ospec] replace ES6 std lib call with ES5 equivalent
This commit is contained in:
parent
e342805bfb
commit
ad83d617e1
1 changed files with 1 additions and 1 deletions
|
|
@ -527,7 +527,7 @@ o.spec("ospec", function() {
|
||||||
} catch(error) {
|
} catch(error) {
|
||||||
var trace = o.cleanStackTrace(error)
|
var trace = o.cleanStackTrace(error)
|
||||||
o(trace).notEquals("break")
|
o(trace).notEquals("break")
|
||||||
o(trace.includes("test-ospec.js")).equals(true)
|
o(trace.indexOf("test-ospec.js") !== -1).equals(true)
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
})
|
})
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue