- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for tempfile_test (0.08 sec)
-
src/os/tempfile_test.go
} } func TestCreateTempPattern(t *testing.T) { t.Parallel() tests := []struct{ pattern, prefix, suffix string }{ {"tempfile_test", "tempfile_test", ""}, {"tempfile_test*", "tempfile_test", ""}, {"tempfile_test*xyz", "tempfile_test", "xyz"}, } for _, test := range tests { f, err := CreateTemp("", test.pattern) if err != nil { t.Errorf("CreateTemp(..., %q) error: %v", test.pattern, err)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Jan 19 20:45:37 UTC 2023 - 5.5K bytes - Viewed (0) -
src/io/ioutil/tempfile_test.go
John Bampton <******@****.***> 1652830664 +0000
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 18 00:47:29 UTC 2022 - 5.5K bytes - Viewed (0) -
platforms/core-runtime/file-temp/src/test/groovy/org/gradle/api/internal/file/temp/TempFilesTest.groovy
* limitations under the License. */ package org.gradle.api.internal.file.temp import spock.lang.Specification import spock.lang.TempDir class TempFilesTest extends Specification { @TempDir File tempDir; def "can generate temp files for short prefixes"() { when: def file = TempFiles.createTempFile("ok", "", tempDir) then:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 08:50:17 UTC 2023 - 1.1K bytes - Viewed (0)