Remove duplicated words (#7336)

Although it is spelling mistakes, it might make an affects while reading.

Signed-off-by: Nguyen Hai Truong <truongnh@fujitsu.com>
(cherry picked from commit 29cc5efc18)
release-3.0
Nguyen Hai Truong 5 years ago committed by Matt Farina
parent 8f6b14695d
commit 6d92b59fff
No known key found for this signature in database
GPG Key ID: 9436E80BFBA46909

@ -170,7 +170,7 @@ func TestCopyDir(t *testing.T) {
func TestCopyDirFail_SrcInaccessible(t *testing.T) { func TestCopyDirFail_SrcInaccessible(t *testing.T) {
if runtime.GOOS == "windows" { if runtime.GOOS == "windows" {
// XXX: setting permissions works differently in // XXX: setting permissions works differently in
// Microsoft Windows. Skipping this this until a // Microsoft Windows. Skipping this until a
// compatible implementation is provided. // compatible implementation is provided.
t.Skip("skipping on windows") t.Skip("skipping on windows")
} }
@ -209,7 +209,7 @@ func TestCopyDirFail_SrcInaccessible(t *testing.T) {
func TestCopyDirFail_DstInaccessible(t *testing.T) { func TestCopyDirFail_DstInaccessible(t *testing.T) {
if runtime.GOOS == "windows" { if runtime.GOOS == "windows" {
// XXX: setting permissions works differently in // XXX: setting permissions works differently in
// Microsoft Windows. Skipping this this until a // Microsoft Windows. Skipping this until a
// compatible implementation is provided. // compatible implementation is provided.
t.Skip("skipping on windows") t.Skip("skipping on windows")
} }
@ -309,7 +309,7 @@ func TestCopyDirFailOpen(t *testing.T) {
// Microsoft Windows. os.Chmod(..., 0222) below is not // Microsoft Windows. os.Chmod(..., 0222) below is not
// enough for the file to be readonly, and os.Chmod(..., // enough for the file to be readonly, and os.Chmod(...,
// 0000) returns an invalid argument error. Skipping // 0000) returns an invalid argument error. Skipping
// this this until a compatible implementation is // this until a compatible implementation is
// provided. // provided.
t.Skip("skipping on windows") t.Skip("skipping on windows")
} }
@ -478,7 +478,7 @@ func TestCopyFileSymlink(t *testing.T) {
func TestCopyFileFail(t *testing.T) { func TestCopyFileFail(t *testing.T) {
if runtime.GOOS == "windows" { if runtime.GOOS == "windows" {
// XXX: setting permissions works differently in // XXX: setting permissions works differently in
// Microsoft Windows. Skipping this this until a // Microsoft Windows. Skipping this until a
// compatible implementation is provided. // compatible implementation is provided.
t.Skip("skipping on windows") t.Skip("skipping on windows")
} }
@ -521,7 +521,7 @@ func TestCopyFileFail(t *testing.T) {
} }
// setupInaccessibleDir creates a temporary location with a single // setupInaccessibleDir creates a temporary location with a single
// directory in it, in such a way that that directory is not accessible // directory in it, in such a way that directory is not accessible
// after this function returns. // after this function returns.
// //
// op is called with the directory as argument, so that it can create // op is called with the directory as argument, so that it can create

Loading…
Cancel
Save