mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
Convert a legacy integration test to a clean v2 CLI integration test.
Docker-DCO-1.1-Signed-off-by: Solomon Hykes <solomon@docker.com> (github: shykes)
This commit is contained in:
parent
902f88ea15
commit
30f22ee9e3
4 changed files with 49 additions and 59 deletions
|
@ -107,3 +107,7 @@ func errorOutOnNonNilError(err error, t *testing.T, message string) {
|
|||
t.Fatalf(message)
|
||||
}
|
||||
}
|
||||
|
||||
func nLines(s string) int {
|
||||
return strings.Count(s, "\n")
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue