@@ -63,18 +63,18 @@ var (
6363
6464 // testLabels1 is a set of unique test labels.
6565 testLabels1 = map [string ]string {
66- labelBase : "true" ,
66+ labelBase : labelValueTrue ,
6767 labelBase + ".sessionID" : testID (),
6868 labelBase + ".version" : "0.1.0" ,
69- labelBase + ".second" : "true" ,
69+ labelBase + ".second" : labelValueTrue ,
7070 }
7171
7272 // testLabels2 is a second set of unique test labels.
7373 testLabels2 = map [string ]string {
74- labelBase : "true" ,
74+ labelBase : labelValueTrue ,
7575 labelBase + ".sessionID" : testID (),
7676 labelBase + ".version" : "0.1.0" ,
77- labelBase + ".first" : "true" ,
77+ labelBase + ".first" : labelValueTrue ,
7878 }
7979
8080 // mockContext is a matcher that matches any context.
@@ -733,6 +733,7 @@ func TestReapContainer(t *testing.T) {
733733 cli := testClient (t )
734734
735735 ids := make ([]string , 2 )
736+
736737 for i , labels := range []map [string ]string {testLabels1 , testLabels2 } {
737738 config := & container.Config {
738739 Image : testImage ,
@@ -788,6 +789,7 @@ func TestReapNetwork(t *testing.T) {
788789 cli := testClient (t )
789790
790791 ids := make ([]string , 2 )
792+
791793 for i , labels := range []map [string ]string {testLabels1 , testLabels2 } {
792794 resp , err := cli .NetworkCreate (ctx , testID (), network.CreateOptions {
793795 Labels : labels ,
@@ -819,6 +821,7 @@ func TestReapVolume(t *testing.T) {
819821 cli := testClient (t )
820822
821823 ids := make ([]string , 2 )
824+
822825 for i , labels := range []map [string ]string {testLabels1 , testLabels2 } {
823826 resp , err := cli .VolumeCreate (ctx , volume.CreateOptions {
824827 Labels : labels ,
@@ -850,6 +853,7 @@ func TestReapImage(t *testing.T) {
850853 cli := testClient (t )
851854
852855 ids := make ([]string , 2 )
856+
853857 for i , labels := range []map [string ]string {testLabels1 , testLabels2 } {
854858 context , err := archive .Tar ("testdata" , archive .Uncompressed )
855859 require .NoError (t , err )
0 commit comments