Skip to content

Commit

Permalink
Updated check to pass test
Browse files Browse the repository at this point in the history
  • Loading branch information
Valiant committed Apr 13, 2020
1 parent 2739ad1 commit fcdc629
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/map_extra_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ TEST_CASE( "mx_minefield real spawn", "[map_extra][overmap]" )
const std::vector<tripoint> bridges = overmap_buffer.find_all( origin, find_params );

// The rest of this check is pointless if there are no bridges.
REQUIRE( bridges.size() > 0 );
REQUIRE( !bridges.empty() );

// For every single bridge we found, run mapgen (which will select and apply a map extra).
for( const tripoint &p : bridges ) {
Expand Down

0 comments on commit fcdc629

Please sign in to comment.