Skip to content

Commit

Permalink
Remove inconsistency from test
Browse files Browse the repository at this point in the history
  • Loading branch information
kevingranade committed Aug 9, 2021
1 parent 09dc9ce commit 2ce8965
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions tests/reading_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -333,9 +333,8 @@ TEST_CASE( "reasons for not being able to read", "[reading][reasons]" )
CHECK( reasons == expect_reasons );
}

THEN( "you cannot read without enough skill to understand the book, even if your practical skill is high" ) {
THEN( "you cannot read without enough skill to understand the book" ) {
dummy.set_knowledge_level( skill_id( "chemistry" ), 5 );
dummy.set_skill_level( skill_id( "chemistry" ), 6 );

CHECK( dummy.get_book_reader( alpha, reasons ) == nullptr );
expect_reasons = { "applied science 6 needed to understand. You have 5" };
Expand Down

0 comments on commit 2ce8965

Please sign in to comment.