forked from MTSR/mapserver
add more tests
This commit is contained in:
parent
900221770e
commit
ec9054b4f8
@ -16,3 +16,9 @@ func TestValidUtf8(t *testing.T) {
|
||||
t.Error("should be valid")
|
||||
}
|
||||
}
|
||||
|
||||
func TestEmptyString(t *testing.T) {
|
||||
if !utf8.Valid([]byte("")) {
|
||||
t.Error("should be valid")
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user