mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
MNT Fix typos in test comments
This commit is contained in:
parent
9dd69c40e3
commit
0bd5b98d62
@ -114,7 +114,7 @@ class DBTextTest extends SapphireTest
|
||||
['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
|
||||
@ -216,7 +216,7 @@ class DBTextTest extends SapphireTest
|
||||
}
|
||||
|
||||
/**
|
||||
* 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
|
||||
*/
|
||||
@ -268,7 +268,7 @@ class DBTextTest extends SapphireTest
|
||||
'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…',
|
||||
]
|
||||
];
|
||||
@ -314,7 +314,7 @@ class DBTextTest extends SapphireTest
|
||||
/**
|
||||
* @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)
|
||||
*/
|
||||
|
Loading…
Reference in New Issue
Block a user