Skip to content

Commit

Permalink
MNT Fix typos in test comments
Browse files Browse the repository at this point in the history
  • Loading branch information
michalkleiner committed Jun 3, 2021
1 parent 9dd69c4 commit 0bd5b98
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions tests/php/ORM/DBTextTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ public function providerLimitWordCount()
['The little brown fox jumped over the lazy cow.', 3, 'The little brown…'],
[' This text has white space around the ends ', 3, 'This text has…'],

// Words less than the limt word count don't get truncated, ellipsis not added
// Words less than the limit word count don't get truncated, ellipsis not added
['Two words', 3, 'Two words'], // Two words shouldn't have an ellipsis
['These three words', 3, 'These three words'], // Three words shouldn't have an ellipsis
['One', 3, 'One'], // Neither should one word
Expand Down Expand Up @@ -216,7 +216,7 @@ public function testFirstSentence($originalValue, $expectedValue)
}

/**
* each test is in the format input, charactere limit, highlight, expected output
* each test is in the format input, character limit, highlight, expected output
*
* @return array
*/
Expand Down Expand Up @@ -268,7 +268,7 @@ public function providerContextSummary()
'both schön and können have umlauts',
21,
'',
// check non existant search term
// check non-existent search term
'both schön and können…',
]
];
Expand Down Expand Up @@ -314,7 +314,7 @@ public function providerSummary()
/**
* @dataProvider providerContextSummary
* @param string $originalValue Input
* @param int $limit Numer of characters
* @param int $limit Number of characters
* @param string $keywords Keywords to highlight
* @param string $expectedValue Expected output (XML encoded safely)
*/
Expand Down

0 comments on commit 0bd5b98

Please sign in to comment.