Skip to content

Commit

Permalink
adjust type for line/column number in unit test to match interface (#40)
Browse files Browse the repository at this point in the history
  • Loading branch information
herzbube committed Jan 3, 2024
1 parent ae1791b commit cc4a186
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions test/sgfc/message/SgfcMessageTest.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@ SCENARIO( "SgfcMessage is constructed from an SGFC message", "[sgfc-message]" )
{
SgfcMessageID messageID = SgfcMessageID::CombinationOfPropertiesConverted;
SgfcMessageType messageType = SgfcMessageType::Warning;
int lineNumber = 10;
int columnNumber = 20;
unsigned long lineNumber = 10;
unsigned long columnNumber = 20;
bool isCriticalMessage = true;
int libraryInternalNumber = SgfcConstants::LibraryErrorNumberNoError;
std::string messageText = "message text";
Expand Down Expand Up @@ -311,8 +311,8 @@ SCENARIO( "SgfcMessage is constructed from a libsgfc++ message", "[sgfc-message]
std::string messageText = "message text";

SgfcMessageType expectedMessageType = SgfcMessageType::FatalError;
int expectedLineNumber = SgfcConstants::InvalidLineNumber;
int expectedColumnNumber = SgfcConstants::InvalidColumnNumber;
unsigned long expectedLineNumber = SgfcConstants::InvalidLineNumber;
unsigned long expectedColumnNumber = SgfcConstants::InvalidColumnNumber;
bool expectedIsCriticalMessage = false;
int expectedLibraryInternalNumber = SgfcConstants::LibraryErrorNumberNoError;
std::string expectedFormattedMessageText = messageText;
Expand Down

0 comments on commit cc4a186

Please sign in to comment.