Slightly improve the fishbowl URL test
This commit is contained in:
parent
31d5aeb70c
commit
991ca3ae38
|
@ -177,7 +177,7 @@ func TestFishbowlIndex(t *testing.T) {
|
|||
}
|
||||
|
||||
func TestFishbowl(t *testing.T) {
|
||||
AssertRegexMatch(t, BuildFishbowl("oop"), RegexFishbowl, nil)
|
||||
AssertRegexMatch(t, BuildFishbowl("oop"), RegexFishbowl, map[string]string{"slug": "oop"})
|
||||
AssertRegexNoMatch(t, BuildFishbowl("oop")+"/otherfiles/whatever", RegexFishbowl)
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue