Skip to content

Fix test failures#1456

Merged
aboch merged 1 commit intomoby:masterfrom
AkihiroSuda:fix-test-failures
Sep 22, 2016
Merged

Fix test failures#1456
aboch merged 1 commit intomoby:masterfrom
AkihiroSuda:fix-test-failures

Conversation

@AkihiroSuda
Copy link
Copy Markdown
Member

@AkihiroSuda AkihiroSuda commented Sep 20, 2016

  • TestwriteJSON and TestontainerInvalidLeave were never executed due to the typos. Recent govet found them.
  • TestWriteJSON was failing due to the comparison between string and []byte. Also, it didn't considered that json.Encode a
    ppends LF.
  • TestContainerInvalidLeave was faling due to a typo

Signed-off-by: Akihiro Suda suda.akihiro@lab.ntt.co.jp

 * TestwriteJSON and TestontainerInvalidLeave were never executed due to the typos. Recent govet found them.
 * TestWriteJSON was failing due to the comparison between string and []byte. Also, it didn't considered that json.Encode appends LF.
 * TestContainerInvalidLeave was faling due to a typo

Signed-off-by: Akihiro Suda <suda.akihiro@lab.ntt.co.jp>
@AkihiroSuda
Copy link
Copy Markdown
Member Author

CI green

@aboch
Copy link
Copy Markdown
Contributor

aboch commented Sep 22, 2016

LGTM

@aboch aboch merged commit 6dd4176 into moby:master Sep 22, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants