summaryrefslogtreecommitdiff
path: root/src/lib/strings_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/strings_test.go')
-rw-r--r--src/lib/strings_test.go18
1 files changed, 0 insertions, 18 deletions
diff --git a/src/lib/strings_test.go b/src/lib/strings_test.go
index a7b63738b..50ad30cc3 100644
--- a/src/lib/strings_test.go
+++ b/src/lib/strings_test.go
@@ -79,21 +79,3 @@ export func TestSplit(t *testing.T) {
}
}
-// TODO: utflen shouldn't even be in strings.
-type UtflenTest struct {
- in string;
- out int;
-}
-var utflentests = []UtflenTest {
- UtflenTest{ abcd, 4 },
- UtflenTest{ faces, 3 },
- UtflenTest{ commas, 7 },
-}
-export func TestUtflen(t *testing.T) {
- for i := 0; i < len(utflentests); i++ {
- tt := utflentests[i];
- if out := strings.utflen(tt.in); out != tt.out {
- t.Errorf("utflen(%q) = %d, want %d", tt.in, out, tt.out);
- }
- }
-}