aboutsummaryrefslogtreecommitdiff
path: root/src/os/error_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'src/os/error_test.go')
-rw-r--r--src/os/error_test.go4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/os/error_test.go b/src/os/error_test.go
index 4ab6246d2e..4fa6146194 100644
--- a/src/os/error_test.go
+++ b/src/os/error_test.go
@@ -14,6 +14,8 @@ import (
)
func TestErrIsExist(t *testing.T) {
+ t.Parallel()
+
f, err := os.CreateTemp("", "_Go_ErrIsExist")
if err != nil {
t.Fatalf("open ErrIsExist tempfile: %s", err)
@@ -148,6 +150,8 @@ func TestIsPermission(t *testing.T) {
}
func TestErrPathNUL(t *testing.T) {
+ t.Parallel()
+
f, err := os.CreateTemp("", "_Go_ErrPathNUL\x00")
if err == nil {
f.Close()