Skip to content

Commit

Permalink
Fix iteminfo tests after item stat changes.
Browse files Browse the repository at this point in the history
  • Loading branch information
kevingranade authored Feb 14, 2020
1 parent 15e1aaa commit 7247b60
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/iteminfo_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -122,15 +122,15 @@ TEST_CASE( "ranged weapon attributes", "[item][iteminfo]" )
iteminfo_test(
item( "compbow" ), q,
"--\n"
"Damage: <color_c_yellow>22</color>*<color_c_yellow>1.25</color> = <color_c_yellow>28</color>\n" );
"Damage: <color_c_yellow>10</color>*<color_c_yellow>1.5</color> = <color_c_yellow>15</color>\n" );
}

SECTION( "time to reload" ) {
iteminfo_query q( { iteminfo_parts::GUN_RELOAD_TIME } );
iteminfo_test(
item( "compbow" ), q,
"--\n"
"Reload time: <color_c_yellow>110</color> moves \n" ); // NOLINT(cata-text-style)
"Reload time: <color_c_yellow>100</color> moves \n" ); // NOLINT(cata-text-style)
}

SECTION( "firing modes" ) {
Expand Down

0 comments on commit 7247b60

Please sign in to comment.