Change order of arguments in assertion to be more logical
Brian Goff authored on 2017/07/01 03:46:11... | ... |
@@ -2828,7 +2828,7 @@ func (s *DockerDaemonSuite) TestExecWithUserAfterLiveRestore(c *check.C) { |
2828 | 2828 |
|
2829 | 2829 |
out2, err := s.d.Cmd("exec", "-u", "test", "top", "id") |
2830 | 2830 |
c.Assert(err, check.IsNil, check.Commentf("Output: %s", out2)) |
2831 |
- c.Assert(out1, check.Equals, out2, check.Commentf("Output: before restart '%s', after restart '%s'", out1, out2)) |
|
2831 |
+ c.Assert(out2, check.Equals, out1, check.Commentf("Output: before restart '%s', after restart '%s'", out1, out2)) |
|
2832 | 2832 |
|
2833 | 2833 |
out, err = s.d.Cmd("stop", "top") |
2834 | 2834 |
c.Assert(err, check.IsNil, check.Commentf("Output: %s", out)) |