mirror of
https://github.com/pestphp/pest.git
synced 2026-03-06 07:47:22 +01:00
fix: replace substr with mb_substr in Str::beforeLast to ensure multibyte string compatibility and correct TeamCity test names for datasets in "describe" blocks
This commit is contained in:
@ -13,3 +13,9 @@ test('can also pass', function () {
|
||||
test('can pass with dataset', function ($value) {
|
||||
expect($value)->toEqual(true);
|
||||
})->with([true]);
|
||||
|
||||
describe('block', function () {
|
||||
test('can pass with dataset in describe block', function ($number) {
|
||||
expect($number)->toBeInt();
|
||||
})->with([1]);
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user