1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-07-30 21:40:43 +02:00

[ticket/15403] Add another test

PHPBB-15403
This commit is contained in:
Ruben Calvo
2024-07-14 12:47:06 +02:00
parent f4b1444248
commit e602889213

View File

@@ -107,6 +107,12 @@ class phpbb_functions_content_get_context_test extends TestCase
'length' => 10,
'expected' => '... word1 ... word2 ...',
],
'ellipsis_middle2' => [
'text' => 'word1 foo foo foo foo foo foo foo foo foo word2',
'words' => ['word1', 'word2'],
'length' => 10,
'expected' => 'word1 ... word2',
]
];
}