- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for TestWrapDecoder (0.15 sec)
-
src/encoding/xml/xml_test.go
d := NewDecoder(strings.NewReader(`<br>`)) d2 := NewTokenDecoder(d) if d != d2 { t.Error("NewTokenDecoder did not detect underlying Decoder") } } func TestWrapDecoder(t *testing.T) { d := NewDecoder(strings.NewReader(`<quote>[Re-enter Clown with a letter, and FABIAN]</quote>`)) m := tokenMap(func(t Token) Token { switch tok := t.(type) { case StartElement:
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Mar 26 19:58:28 UTC 2024 - 36.9K bytes - Viewed (0)