Skip to content

Commit

Permalink
Remove reverseJoin testing since it's gone
Browse files Browse the repository at this point in the history
  • Loading branch information
mvdan committed Feb 6, 2015
1 parent b09e436 commit 18b30e1
Showing 1 changed file with 0 additions and 17 deletions.
17 changes: 0 additions & 17 deletions xurls_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,23 +7,6 @@ import (
"testing"
)

func TestReverseJoin(t *testing.T) {
for _, c := range [...]struct {
in []string
inSep string
want string
}{
{[]string{`a`, `b`, `c`}, `.`, `c.b.a`},
{[]string{`1`, `22`, `333`}, `,`, `333,22,1`},
{[]string{`xxx`, `yyy`, `zzz`}, `__`, `zzz__yyy__xxx`},
} {
got := reverseJoin(c.in, c.inSep)
if got != c.want {
t.Errorf(`reverseJoin(%v) got "%s", want "%s"`, c.in, got, c.want)
}
}
}

func TestWebURL(t *testing.T) {
for _, c := range [...]struct {
in string
Expand Down

0 comments on commit 18b30e1

Please sign in to comment.