(t *testing.T)
| 184 | } |
| 185 | |
| 186 | func TestTokenizer_ReadUntil(t *testing.T) { |
| 187 | type Case struct { |
| 188 | input string |
| 189 | until []rune |
| 190 | expected string |
| 191 | } |
| 192 | |
| 193 | // TODO: Complete these cases. |
| 194 | cases := []Case{} |
| 195 | |
| 196 | for _, c := range cases { |
| 197 | actual := NewTokenizer(c.input).readUntil(c.until...) |
| 198 | if !reflect.DeepEqual(actual, c.expected) { |
| 199 | t.Fatalf("\nExpected: %v\n Got: %v", c.expected, actual) |
| 200 | } |
| 201 | } |
| 202 | } |
nothing calls this directly
no test coverage detected