Skip to content

Commit

Permalink
Comment out test dependent on unknown sort order
Browse files Browse the repository at this point in the history
  • Loading branch information
wapcaplet committed May 30, 2020
1 parent ce27357 commit 897f486
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion tests/iteminfo_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1255,10 +1255,12 @@ TEST_CASE( "gunmod info", "[iteminfo][gunmod]" )
"Handling modifier: <color_c_yellow>+1</color>\n" );

// FIXME: This is a different order than given in JSON, and not alphabetical either;
// could be made more predictable?
// could be made more predictable by making enumerate_as_string do sorting
/*
CHECK( item_info_str( supp, usedon ) ==
"--\n"
"Used on: <color_c_cyan>rifle</color> and <color_c_cyan>pistol</color>\n" );
*/

CHECK( item_info_str( supp, location ) ==
"--\n"
Expand Down

0 comments on commit 897f486

Please sign in to comment.