@@ -147,11 +147,11 @@ func TestExecute_DriveMoreCommands_JSON(t *testing.T) {
147147 t .Fatalf ("move: %v" , err )
148148 }
149149 })
150- _ = captureStdout (t , func () {
151- if err := Execute ([]string {"--json" , "--force" , "--account" , "a@b.com" , "drive" , "share" , "id1" , "--anyone" , "--role" , "reader" }); err != nil {
152- t .Fatalf ("share: %v" , err )
153- }
154- })
150+ _ = captureStdout (t , func () {
151+ if err := Execute ([]string {"--json" , "--force" , "--account" , "a@b.com" , "drive" , "share" , "id1" , "--anyone" , "--role" , "reader" }); err != nil {
152+ t .Fatalf ("share: %v" , err )
153+ }
154+ })
155155 _ = captureStdout (t , func () {
156156 if err := Execute ([]string {"--json" , "--account" , "a@b.com" , "drive" , "permissions" , "id1" }); err != nil {
157157 t .Fatalf ("permissions: %v" , err )
@@ -292,9 +292,9 @@ func TestExecute_DriveMoreCommands_Text(t *testing.T) {
292292 if err := Execute ([]string {"--account" , "a@b.com" , "drive" , "move" , "id1" , "--parent" , "np" }); err != nil {
293293 t .Fatalf ("move: %v" , err )
294294 }
295- if err := Execute ([]string {"--force" , "--account" , "a@b.com" , "drive" , "share" , "id1" , "--anyone" , "--role" , "reader" }); err != nil {
296- t .Fatalf ("share: %v" , err )
297- }
295+ if err := Execute ([]string {"--force" , "--account" , "a@b.com" , "drive" , "share" , "id1" , "--anyone" , "--role" , "reader" }); err != nil {
296+ t .Fatalf ("share: %v" , err )
297+ }
298298 if err := Execute ([]string {"--account" , "a@b.com" , "drive" , "permissions" , "id1" }); err != nil {
299299 t .Fatalf ("permissions: %v" , err )
300300 }
0 commit comments