@@ -143,31 +143,31 @@ func TestStartStopWithOneOffs(t *testing.T) {
143143 res := c .RunDockerComposeCmd (t , "--project-name" , projectName , "ps" , "-a" )
144144 assert .Assert (t , strings .Contains (res .Combined (), "e2e-start-stop-with-oneoffs-foo-1" ), res .Combined ())
145145 assert .Assert (t , strings .Contains (res .Combined (), "e2e-start-stop-with-oneoffs-bar-1" ), res .Combined ())
146- assert .Assert (t , strings .Contains (res .Combined (), "e2e-start-stop-with-oneoffs_bar_run " ), res .Combined ())
146+ assert .Assert (t , strings .Contains (res .Combined (), "e2e-start-stop-with-oneoffs-bar-run " ), res .Combined ())
147147 })
148148
149149 t .Run ("stop (not one-off containers)" , func (t * testing.T ) {
150150 res := c .RunDockerComposeCmd (t , "--project-name" , projectName , "stop" )
151151 assert .Assert (t , strings .Contains (res .Combined (), "e2e-start-stop-with-oneoffs-foo-1" ), res .Combined ())
152152 assert .Assert (t , strings .Contains (res .Combined (), "e2e-start-stop-with-oneoffs-bar-1" ), res .Combined ())
153- assert .Assert (t , ! strings .Contains (res .Combined (), "e2e_start_stop_with_oneoffs_bar_run " ), res .Combined ())
153+ assert .Assert (t , ! strings .Contains (res .Combined (), "e2e_start_stop_with_oneoffs-bar-run " ), res .Combined ())
154154
155155 res = c .RunDockerComposeCmd (t , "--project-name" , projectName , "ps" , "-a" , "--status" , "running" )
156- assert .Assert (t , strings .Contains (res .Combined (), "e2e-start-stop-with-oneoffs_bar_run " ), res .Combined ())
156+ assert .Assert (t , strings .Contains (res .Combined (), "e2e-start-stop-with-oneoffs-bar-run " ), res .Combined ())
157157 })
158158
159159 t .Run ("start (not one-off containers)" , func (t * testing.T ) {
160160 res := c .RunDockerComposeCmd (t , "--project-name" , projectName , "start" )
161161 assert .Assert (t , strings .Contains (res .Combined (), "e2e-start-stop-with-oneoffs-foo-1" ), res .Combined ())
162162 assert .Assert (t , strings .Contains (res .Combined (), "e2e-start-stop-with-oneoffs-bar-1" ), res .Combined ())
163- assert .Assert (t , ! strings .Contains (res .Combined (), "e2e-start-stop-with-oneoffs_bar_run " ), res .Combined ())
163+ assert .Assert (t , ! strings .Contains (res .Combined (), "e2e-start-stop-with-oneoffs-bar-run " ), res .Combined ())
164164 })
165165
166166 t .Run ("restart (not one-off containers)" , func (t * testing.T ) {
167167 res := c .RunDockerComposeCmd (t , "--project-name" , projectName , "restart" )
168168 assert .Assert (t , strings .Contains (res .Combined (), "e2e-start-stop-with-oneoffs-foo-1" ), res .Combined ())
169169 assert .Assert (t , strings .Contains (res .Combined (), "e2e-start-stop-with-oneoffs-bar-1" ), res .Combined ())
170- assert .Assert (t , ! strings .Contains (res .Combined (), "e2e-start-stop-with-oneoffs_bar_run " ), res .Combined ())
170+ assert .Assert (t , ! strings .Contains (res .Combined (), "e2e-start-stop-with-oneoffs-bar-run " ), res .Combined ())
171171 })
172172
173173 t .Run ("down" , func (t * testing.T ) {
0 commit comments