12308: Fix wrong error check.
authorTom Clegg <tom@tomclegg.ca>
Thu, 6 Feb 2020 16:14:37 +0000 (11:14 -0500)
committerTom Clegg <tom@tomclegg.ca>
Thu, 6 Feb 2020 16:14:37 +0000 (11:14 -0500)
Arvados-DCO-1.1-Signed-off-by: Tom Clegg <tom@tomclegg.ca>

lib/mount/command_test.go

index d222e8ccbfef28d782e754670bfe13c97c74f9a8..980b7d2ae3f7b94dd429879d4200da5a7ed2d3bf 100644 (file)
@@ -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`)
                }