Преглед изворни кода

Merge pull request #25057 from lixiaobing10051267/masterTestChtimes

Modify func name from TestChtimes to TestChtimesLinux
Vincent Demeester пре 9 година
родитељ
комит
6857c0a040
2 измењених фајлова са 2 додато и 2 уклоњено
  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)