Explorar el Código

Modify func name from TestChtimes to TestChtimesLinux

Signed-off-by: lixiaobing10051267 <li.xiaobing1@zte.com.cn>

Modify func note

Signed-off-by: lixiaobing10051267 <li.xiaobing1@zte.com.cn>
lixiaobing10051267 hace 9 años
padre
commit
1df9f0932e
Se han modificado 2 ficheros con 2 adiciones y 2 borrados
  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)