Slightly improve the fishbowl URL test

This commit is contained in:
Ben Visness 2022-06-12 07:43:30 -05:00
parent 31d5aeb70c
commit 991ca3ae38
1 changed files with 1 additions and 1 deletions

View File

@ -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)
}