浏览代码

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 年之前
父节点
当前提交
1df9f0932e
共有 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)