@@ -64,7 +64,7 @@ func TestAttach(t *testing.T) {
6464 cmd .Run (& test.Expected {
6565 ExitCode : 0 ,
6666 Errors : []error {errors .New ("read detach keys" )},
67- Output : func (stdout string , info string , t * testing.T ) {
67+ Output : func (stdout string , t * testing.T ) {
6868 assert .Assert (t , strings .Contains (helpers .Capture ("inspect" , "--format" , "json" , data .Identifier ()), "\" Running\" :true" ))
6969 },
7070 })
@@ -93,7 +93,7 @@ func TestAttach(t *testing.T) {
9393 Errors : []error {errors .New ("read detach keys" )},
9494 Output : expect .All (
9595 expect .Contains ("markmark" ),
96- func (stdout string , info string , t * testing.T ) {
96+ func (stdout string , t * testing.T ) {
9797 assert .Assert (t , strings .Contains (helpers .Capture ("inspect" , "--format" , "json" , data .Identifier ()), "\" Running\" :true" ))
9898 },
9999 ),
@@ -125,7 +125,7 @@ func TestAttachDetachKeys(t *testing.T) {
125125 cmd .Run (& test.Expected {
126126 ExitCode : 0 ,
127127 Errors : []error {errors .New ("read detach keys" )},
128- Output : func (stdout string , info string , t * testing.T ) {
128+ Output : func (stdout string , t * testing.T ) {
129129 assert .Assert (t , strings .Contains (helpers .Capture ("inspect" , "--format" , "json" , data .Identifier ()), "\" Running\" :true" ))
130130 },
131131 })
@@ -153,7 +153,7 @@ func TestAttachDetachKeys(t *testing.T) {
153153 Errors : []error {errors .New ("read detach keys" )},
154154 Output : expect .All (
155155 expect .Contains ("markmark" ),
156- func (stdout string , info string , t * testing.T ) {
156+ func (stdout string , t * testing.T ) {
157157 assert .Assert (t , strings .Contains (helpers .Capture ("inspect" , "--format" , "json" , data .Identifier ()), "\" Running\" :true" ))
158158 },
159159 ),
@@ -182,8 +182,8 @@ func TestAttachForAutoRemovedContainer(t *testing.T) {
182182 cmd .Run (& test.Expected {
183183 ExitCode : 0 ,
184184 Errors : []error {errors .New ("read detach keys" )},
185- Output : func (stdout string , info string , t * testing.T ) {
186- assert .Assert (t , strings .Contains (helpers .Capture ("inspect" , "--format" , "json" , data .Identifier ()), "\" Running\" :true" ), info )
185+ Output : func (stdout string , t * testing.T ) {
186+ assert .Assert (t , strings .Contains (helpers .Capture ("inspect" , "--format" , "json" , data .Identifier ()), "\" Running\" :true" ))
187187 },
188188 })
189189 }
@@ -202,7 +202,7 @@ func TestAttachForAutoRemovedContainer(t *testing.T) {
202202 ExitCode : 42 ,
203203 Output : expect .All (
204204 expect .Contains ("markmark" ),
205- func (stdout string , info string , t * testing.T ) {
205+ func (stdout string , t * testing.T ) {
206206 assert .Assert (t , ! strings .Contains (helpers .Capture ("ps" , "-a" ), data .Identifier ()))
207207 },
208208 ),
0 commit comments