@@ -47,7 +47,7 @@ func TestWorkspaceAgent(t *testing.T) {
47
47
workspace := coderdtest .CreateWorkspace (t , client , codersdk .Me , template .ID )
48
48
coderdtest .AwaitWorkspaceBuildJob (t , client , workspace .LatestBuild .ID )
49
49
50
- cmd , _ := clitest .New (t , "workspaces" , " agent" , "--auth" , "aws-instance-identity" , "--url" , client .URL .String ())
50
+ cmd , _ := clitest .New (t , "agent" , "--auth" , "aws-instance-identity" , "--url" , client .URL .String ())
51
51
ctx , cancelFunc := context .WithCancel (context .Background ())
52
52
defer cancelFunc ()
53
53
go func () {
@@ -101,7 +101,7 @@ func TestWorkspaceAgent(t *testing.T) {
101
101
workspace := coderdtest .CreateWorkspace (t , client , codersdk .Me , template .ID )
102
102
coderdtest .AwaitWorkspaceBuildJob (t , client , workspace .LatestBuild .ID )
103
103
104
- cmd , _ := clitest .New (t , "workspaces" , " agent" , "--auth" , "google-instance-identity" , "--url" , client .URL .String ())
104
+ cmd , _ := clitest .New (t , "agent" , "--auth" , "google-instance-identity" , "--url" , client .URL .String ())
105
105
ctx , cancelFunc := context .WithCancel (context .Background ())
106
106
defer cancelFunc ()
107
107
go func () {
0 commit comments