1
0
Fork 0
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:
Solomon Hykes 2014-04-04 00:57:41 +00:00
parent 902f88ea15
commit 30f22ee9e3
4 changed files with 49 additions and 59 deletions

View file

@ -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")
}