replace zxq.co/ripple/hanayo
This commit is contained in:
18
vendor/github.com/dustin/go-humanize/common_test.go
generated
vendored
Normal file
18
vendor/github.com/dustin/go-humanize/common_test.go
generated
vendored
Normal file
@@ -0,0 +1,18 @@
|
||||
package humanize
|
||||
|
||||
import (
|
||||
"testing"
|
||||
)
|
||||
|
||||
type testList []struct {
|
||||
name, got, exp string
|
||||
}
|
||||
|
||||
func (tl testList) validate(t *testing.T) {
|
||||
for _, test := range tl {
|
||||
if test.got != test.exp {
|
||||
t.Errorf("On %v, expected '%v', but got '%v'",
|
||||
test.name, test.exp, test.got)
|
||||
}
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user