X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/ff58dd2e5cb37f652047b53064dd389b8cf05150..ac312e0acae4fd114114081c9f4791d05e640831:/lib/mount/command_test.go diff --git a/lib/mount/command_test.go b/lib/mount/command_test.go index d222e8ccbf..44eb61e7f9 100644 --- a/lib/mount/command_test.go +++ b/lib/mount/command_test.go @@ -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) @@ -57,7 +57,7 @@ func (s *CmdSuite) TestMount(c *check.C) { if c.Check(err, check.IsNil) { var m map[string]interface{} err = json.Unmarshal(buf, &m) - c.Check(err, check.NotNil) + c.Check(err, check.IsNil) c.Check(m["manifest_text"], check.Matches, `\. acbd.* 0:3:foo\n`) }