17840: Deduplicate flag-parsing code.
[arvados.git] / lib / mount / command_test.go
index 980b7d2ae3f7b94dd429879d4200da5a7ed2d3bf..44eb61e7f90efd11e381109a677c2b2ea621c3f0 100644 (file)
@@ -36,7 +36,7 @@ func (s *CmdSuite) TestMount(c *check.C) {
        stdin := bytes.NewBufferString("stdin")
        stdout := bytes.NewBuffer(nil)
        stderr := bytes.NewBuffer(nil)
-       mountCmd := cmd{ready: make(chan struct{})}
+       mountCmd := mountCommand{ready: make(chan struct{})}
        ready := false
        go func() {
                exited <- mountCmd.RunCommand("test mount", []string{"--experimental", s.mnt}, stdin, stdout, stderr)