Skip to content

Commit f9cc059

Browse files
committed
Specify index type
1 parent 4ec7f6c commit f9cc059

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

Code/max/Containers/StateMachine/NodeTest.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ namespace StateMachine {
4646

4747
auto new_node_index = node.AttemptTransition(uint32_t{1});
4848

49-
CurrentTest.MAX_TESTING_ASSERT( new_node_index == 2 );
49+
CurrentTest.MAX_TESTING_ASSERT( new_node_index == size_t{2} );
5050
CurrentTest.MAX_TESTING_ASSERT( range_callback_called );
5151
CurrentTest.MAX_TESTING_ASSERT( !string_callback_called );
5252
}
@@ -100,7 +100,7 @@ namespace StateMachine {
100100

101101
auto new_node_index = node.AttemptTransition(std::string_view{"test"});
102102

103-
CurrentTest.MAX_TESTING_ASSERT( new_node_index == 3 );
103+
CurrentTest.MAX_TESTING_ASSERT( new_node_index == size_t{3} );
104104
CurrentTest.MAX_TESTING_ASSERT( !range_callback_called );
105105
CurrentTest.MAX_TESTING_ASSERT( string_callback_called );
106106
}

0 commit comments

Comments
 (0)