@@ -120,13 +120,13 @@ class TestToken : public TestFixture {
120120 Token *last = token->tokAt (2 );
121121 ASSERT_EQUALS (token->str (), " 1" );
122122 ASSERT_EQUALS (token->next ()->str (), " 2" );
123- // cppcheck-suppress redundantNextPrevious - this is itentional
123+ // cppcheck-suppress redundantNextPrevious - this is intentional
124124 ASSERT_EQUALS (token->tokAt (2 )->str (), " 3" );
125125 ASSERT_EQUALS_MSG (true , last->next () == nullptr , " Null was expected" );
126126
127127 ASSERT_EQUALS (last->str (), " 3" );
128128 ASSERT_EQUALS (last->previous ()->str (), " 2" );
129- // cppcheck-suppress redundantNextPrevious - this is itentional
129+ // cppcheck-suppress redundantNextPrevious - this is intentional
130130 ASSERT_EQUALS (last->tokAt (-2 )->str (), " 1" );
131131 ASSERT_EQUALS_MSG (true , token->previous () == nullptr , " Null was expected" );
132132
@@ -721,24 +721,24 @@ class TestToken : public TestFixture {
721721
722722 void matchOr () const {
723723 givenACodeSampleToTokenize bitwiseOr (" ;|;" , true );
724- // cppcheck-suppress simplePatternError - this is itentional
724+ // cppcheck-suppress simplePatternError - this is intentional
725725 ASSERT_EQUALS (true , Token::Match (bitwiseOr.tokens (), " ; %or%" ));
726726 ASSERT_EQUALS (true , Token::Match (bitwiseOr.tokens (), " ; %op%" ));
727- // cppcheck-suppress simplePatternError - this is itentional
727+ // cppcheck-suppress simplePatternError - this is intentional
728728 ASSERT_EQUALS (false , Token::Match (bitwiseOr.tokens (), " ; %oror%" ));
729729
730730 givenACodeSampleToTokenize bitwiseOrAssignment (" ;|=;" );
731- // cppcheck-suppress simplePatternError - this is itentional
731+ // cppcheck-suppress simplePatternError - this is intentional
732732 ASSERT_EQUALS (false , Token::Match (bitwiseOrAssignment.tokens (), " ; %or%" ));
733733 ASSERT_EQUALS (true , Token::Match (bitwiseOrAssignment.tokens (), " ; %op%" ));
734- // cppcheck-suppress simplePatternError - this is itentional
734+ // cppcheck-suppress simplePatternError - this is intentional
735735 ASSERT_EQUALS (false , Token::Match (bitwiseOrAssignment.tokens (), " ; %oror%" ));
736736
737737 givenACodeSampleToTokenize logicalOr (" ;||;" , true );
738- // cppcheck-suppress simplePatternError - this is itentional
738+ // cppcheck-suppress simplePatternError - this is intentional
739739 ASSERT_EQUALS (false , Token::Match (logicalOr.tokens (), " ; %or%" ));
740740 ASSERT_EQUALS (true , Token::Match (logicalOr.tokens (), " ; %op%" ));
741- // cppcheck-suppress simplePatternError - this is itentional
741+ // cppcheck-suppress simplePatternError - this is intentional
742742 ASSERT_EQUALS (true , Token::Match (logicalOr.tokens (), " ; %oror%" ));
743743 ASSERT_EQUALS (true , Token::Match (logicalOr.tokens (), " ; &&|%oror%" ));
744744 ASSERT_EQUALS (true , Token::Match (logicalOr.tokens (), " ; %oror%|&&" ));
0 commit comments