1
0
mirror of https://github.com/minimaxir/big-list-of-naughty-strings.git synced 2025-09-30 15:49:12 +02:00
Files
big-list-of-naughty-strings/naughtystrings/naughtystrings_test.go
Will Faught 49cb0f7535 Add Go compatibility
The naughtystrings directory is now a Go package and can be imported by Go.
2015-10-26 14:06:35 -07:00

14 lines
238 B
Go

package naughtystrings
import "testing"
func TestNaughtyStrings(t *testing.T) {
for _, test := range [][]string{Base64Encoded(), Unencoded()} {
t.Logf("Test: %v", test)
if n := len(test); n == 0 {
t.Error("Length: 0")
}
}
}