- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for TestScanEmpty (0.12 sec)
-
src/fmt/scan_test.go
} if s != "asdf" { t.Errorf("Sscan wrong values: got %q expected \"asdf\"", s) } } // Empty strings are not valid input when scanning a string. func TestScanEmpty(t *testing.T) { var s1, s2 string n, err := Sscan("abc", &s1, &s2) if n != 1 { t.Errorf("Sscan count error: expected 1: got %d", n) } if err == nil {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 23 20:25:13 UTC 2023 - 39.3K bytes - Viewed (0)