#1520 ospec: report duplicate test names

This commit is contained in:
Leo Horie 2017-01-08 13:05:27 -05:00
parent 3bac29bf78
commit 9ad16858a5
9 changed files with 16 additions and 61 deletions

View file

@ -136,7 +136,7 @@ o.spec("parseURL", function() {
o(data.search).equals("?a/c")
o(data.hash).equals("")
})
o("handles search w/ slash", function() {
o("handles search w/ colon", function() {
var data = parseURL("http://www.google.com/test?a:c")
o(data.pathname).equals("/test")
o(data.search).equals("?a:c")

View file

@ -382,12 +382,6 @@ o.spec("pushStateMock", function() {
o($window.onpopstate.callCount).equals(2)
})
o("history.back() without history does not trigger onpopstate", function() {
$window.onpopstate = o.spy()
$window.history.back()
o($window.onpopstate.callCount).equals(0)
})
o("history.forward() without history does not trigger onpopstate", function() {
$window.onpopstate = o.spy()
$window.history.forward()