mirror of
https://github.com/docker/compose.git
synced 2026-10-12 02:13:08 +00:00
fix: commit tests
Signed-off-by: MohammadHasan Akbari <[email protected]>
This commit is contained in:
committed by
Nicolas De loof
parent
9eaba55973
commit
1ff9b758d2
@@ -38,11 +38,11 @@ func TestCommit(t *testing.T) {
|
||||
projectName,
|
||||
"commit",
|
||||
"-a",
|
||||
"\"John Hannibal Smith <[email protected]>\"",
|
||||
"John Hannibal Smith <[email protected]>",
|
||||
"-c",
|
||||
"\"ENV DEBUG=true\"",
|
||||
"ENV DEBUG=true",
|
||||
"-m",
|
||||
"\"sample commit\"",
|
||||
"sample commit",
|
||||
"service",
|
||||
"service:latest",
|
||||
)
|
||||
@@ -66,11 +66,11 @@ func TestCommitWithReplicas(t *testing.T) {
|
||||
projectName,
|
||||
"commit",
|
||||
"-a",
|
||||
"\"John Hannibal Smith <[email protected]>\"",
|
||||
"John Hannibal Smith <[email protected]>",
|
||||
"-c",
|
||||
"\"ENV DEBUG=true\"",
|
||||
"ENV DEBUG=true",
|
||||
"-m",
|
||||
"\"sample commit\"",
|
||||
"sample commit",
|
||||
"--index=1",
|
||||
"service-with-replicas",
|
||||
"service-with-replicas:1",
|
||||
@@ -81,11 +81,11 @@ func TestCommitWithReplicas(t *testing.T) {
|
||||
projectName,
|
||||
"commit",
|
||||
"-a",
|
||||
"\"John Hannibal Smith <[email protected]>\"",
|
||||
"John Hannibal Smith <[email protected]>",
|
||||
"-c",
|
||||
"\"ENV DEBUG=true\"",
|
||||
"ENV DEBUG=true",
|
||||
"-m",
|
||||
"\"sample commit\"",
|
||||
"sample commit",
|
||||
"--index=2",
|
||||
"service-with-replicas",
|
||||
"service-with-replicas:2",
|
||||
|
||||
Reference in New Issue
Block a user