@@ -161,7 +161,8 @@ func TestCoreSearchNoArgs(t *testing.T) {
161161 lines = append (lines , strings .Fields (strings .TrimSpace (v )))
162162 }
163163 // The header is printed on the first lines
164- require .Equal (t , []string {"test:x86" , "2.0.0" , "test_core" }, lines [20 ])
164+ // TODO: make test more resilient (no hardcoded line number)
165+ require .Equal (t , []string {"test:x86" , "2.0.0" , "test_core" }, lines [21 ])
165166 numPlatforms := len (lines ) - 1
166167
167168 // same thing in JSON format, also check the number of platforms found is the same
@@ -178,7 +179,8 @@ func TestCoreSearchNoArgs(t *testing.T) {
178179 lines = append (lines , strings .Fields (strings .TrimSpace (v )))
179180 }
180181 // The header is printed on the first lines
181- require .Equal (t , []string {"test:x86" , "2.0.0" , "test_core" }, lines [21 ])
182+ // TODO: make test more resilient (no hardcoded line number)
183+ require .Equal (t , []string {"test:x86" , "2.0.0" , "test_core" }, lines [22 ])
182184 numPlatforms = len (lines ) - 1
183185
184186 // same thing in JSON format, also check the number of platforms found is the same
0 commit comments