- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for TestTempFile_BadPattern (0.2 sec)
-
src/io/ioutil/tempfile_test.go
test.pattern, base, test.prefix, test.suffix) } } } // This string is from os.errPatternHasSeparator. const patternHasSeparator = "pattern contains path separator" func TestTempFile_BadPattern(t *testing.T) { tmpDir, err := TempDir("", t.Name()) if err != nil { t.Fatal(err) } defer os.RemoveAll(tmpDir) const sep = string(os.PathSeparator) tests := []struct { pattern string
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 18 00:47:29 UTC 2022 - 5.5K bytes - Viewed (0)