Browse Source

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 9 years ago
parent
commit
1df9f0932e
2 changed files with 2 additions and 2 deletions
  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)