File tree Expand file tree Collapse file tree 2 files changed +5
-2
lines changed
tests/xbps/libxbps/config Expand file tree Collapse file tree 2 files changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -317,14 +317,16 @@ ATF_TC_BODY(config_trim_values, tc)
317317 ATF_REQUIRE_EQ (xbps_init (& xh ), 0 );
318318
319319 /* should contain one repository */
320- ATF_REQUIRE_EQ (xbps_array_count (xh .repositories ), 2 );
320+ ATF_REQUIRE_EQ (xbps_array_count (xh .repositories ), 3 );
321321
322322 /* should contain repository=1 */
323323 ATF_REQUIRE_EQ (xbps_array_get_cstring_nocopy (xh .repositories , 0 , & repo ), true);
324324 ATF_REQUIRE_STREQ (repo , "1" );
325325 /* should contain repository=2 */
326326 ATF_REQUIRE_EQ (xbps_array_get_cstring_nocopy (xh .repositories , 1 , & repo ), true);
327327 ATF_REQUIRE_STREQ (repo , "2" );
328+ ATF_REQUIRE_EQ (xbps_array_get_cstring_nocopy (xh .repositories , 2 , & repo ), true);
329+ ATF_REQUIRE_STREQ (repo , "3" );
328330}
329331
330332ATF_TC (config_no_trailing_newline );
Original file line number Diff line number Diff line change 11repository= 1
2- repository =2
2+ repository =2
3+ repository=3
You can’t perform that action at this time.
0 commit comments