mirror of
https://github.com/moby/moby.git
synced 2025-12-10 21:42:47 +03: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:
@@ -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")
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user