- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for TestScanRune (0.21 sec)
-
src/bufio/scan_test.go
} err := s.Err() if err != nil { t.Errorf("#%d: %v", n, err) } } } // Test that the rune splitter returns same sequence of runes (not bytes) as for range string. func TestScanRune(t *testing.T) { for n, test := range scanTests { buf := strings.NewReader(test) s := NewScanner(buf) s.Split(ScanRunes) var i, runeCount int var expect rune
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Fri Sep 22 16:22:42 UTC 2023 - 14.3K bytes - Viewed (0)