Sfoglia il codice sorgente

Merge pull request #25057 from lixiaobing10051267/masterTestChtimes

Modify func name from TestChtimes to TestChtimesLinux
Vincent Demeester 9 anni fa
parent
commit
6857c0a040
2 ha cambiato i file con 2 aggiunte e 2 eliminazioni
  1. 1 1
      pkg/system/chtimes_unix_test.go
  2. 1 1
      pkg/system/chtimes_windows_test.go

+ 1 - 1
pkg/system/chtimes_unix_test.go

@@ -9,7 +9,7 @@ import (
 	"time"
 )
 
-// TestChtimes tests Chtimes access time on a tempfile on Linux
+// TestChtimesLinux tests Chtimes access time on a tempfile on Linux
 func TestChtimesLinux(t *testing.T) {
 	file, dir := prepareTempFile(t)
 	defer os.RemoveAll(dir)

+ 1 - 1
pkg/system/chtimes_windows_test.go

@@ -9,7 +9,7 @@ import (
 	"time"
 )
 
-// TestChtimes tests Chtimes access time on a tempfile on Windows
+// TestChtimesWindows tests Chtimes access time on a tempfile on Windows
 func TestChtimesWindows(t *testing.T) {
 	file, dir := prepareTempFile(t)
 	defer os.RemoveAll(dir)