X-Git-Url: https://ruderich.org/simon/gitweb/?p=safcm%2Fsafcm.git;a=blobdiff_plain;f=remote%2Fainsl%2Fainsl_test.go;fp=remote%2Fainsl%2Fainsl_test.go;h=07d92420b59a076e19c8022a690577a299971a26;hp=ed52bb0f758f4981948e4ff9fbf5b6918f1bee8c;hb=8620dac1f9ee7f73058e3e97b488ec0c710a89df;hpb=d1e310bce2f925d1c1f122dc38277d875debe3f6 diff --git a/remote/ainsl/ainsl_test.go b/remote/ainsl/ainsl_test.go index ed52bb0..07d9242 100644 --- a/remote/ainsl/ainsl_test.go +++ b/remote/ainsl/ainsl_test.go @@ -94,7 +94,7 @@ func TestHandle(t *testing.T) { nil, []ft.File{ root, - ft.File{ + { Path: "file", Mode: 0640, Data: []byte("line\n"), @@ -141,7 +141,7 @@ func TestHandle(t *testing.T) { }, []ft.File{ root, - ft.File{ + { Path: "file", Mode: 0641, Data: []byte("line\n"), @@ -161,7 +161,7 @@ func TestHandle(t *testing.T) { }, []ft.File{ root, - ft.File{ + { Path: "file", Mode: 0641, Data: []byte("existing\nline\n"), @@ -182,7 +182,7 @@ func TestHandle(t *testing.T) { }, []ft.File{ root, - ft.File{ + { Path: "file", Mode: 0641, Data: []byte("existing\nline\n"), @@ -204,7 +204,7 @@ func TestHandle(t *testing.T) { }, []ft.File{ root, - ft.File{ + { Path: "file", Mode: 0641, Data: []byte("first\nline\n"), @@ -225,7 +225,7 @@ func TestHandle(t *testing.T) { }, []ft.File{ root, - ft.File{ + { Path: "file", Mode: 0641, Data: []byte("first\nline\n"), @@ -246,7 +246,7 @@ func TestHandle(t *testing.T) { }, []ft.File{ root, - ft.File{ + { Path: "file", Mode: 0641, Data: []byte("# line with spaces\nline with spaces\n"), @@ -268,7 +268,7 @@ func TestHandle(t *testing.T) { }, []ft.File{ root, - ft.File{ + { Path: "file", Mode: fs.ModeSymlink | 0777, Data: []byte("target"), @@ -287,7 +287,7 @@ func TestHandle(t *testing.T) { }, []ft.File{ root, - ft.File{ + { Path: "file", Mode: fs.ModeNamedPipe | 0640, },