mirror of
https://github.com/moby/moby.git
synced 2026-01-11 18:51:37 +00:00
integration-cli: remove unnescessary conversions (unconvert)
Signed-off-by: Kir Kolyshkin <kolyshkin@gmail.com> Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
This commit is contained in:
@@ -50,7 +50,7 @@ func (s *DockerSwarmSuite) TestSwarmVolumePlugin(c *testing.T) {
|
||||
}
|
||||
|
||||
assert.NilError(c, json.NewDecoder(strings.NewReader(out)).Decode(&mounts))
|
||||
assert.Equal(c, len(mounts), 1, string(out))
|
||||
assert.Equal(c, len(mounts), 1, out)
|
||||
assert.Equal(c, mounts[0].Name, "my-volume")
|
||||
assert.Equal(c, mounts[0].Driver, "customvolumedriver")
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user