#1520 ospec: report duplicate test names
This commit is contained in:
parent
3bac29bf78
commit
9ad16858a5
9 changed files with 16 additions and 61 deletions
|
|
@ -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")
|
||||
|
|
|
|||
|
|
@ -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()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue