Skip to content

Commit 518888b

Browse files
paulbalandankenjis
andauthored
Adjust pattern
Co-authored-by: kenjis <kenji.uui@gmail.com>
1 parent 2250d71 commit 518888b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎tests/system/Commands/Database/ShowTableInfoTest.php‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ public function testDbTable(): void
6767
$expected = 'Data of Table "db_migrations":';
6868
$this->assertStringContainsString($expected, $result);
6969

70-
$expectedPattern = '/\|\hid\h+\|\hversion\h+\|\hclass\h+\|\hgroup\h+\|\hnamespace\h+\|\htime\h+\|\hbatch\h\|/';
70+
$expectedPattern = '/\| id[[:blank:]]+\| version[[:blank:]]+\| class[[:blank:]]+\| group[[:blank:]]+\| namespace[[:blank:]]+\| time[[:blank:]]+\| batch \|/';
7171
$this->assertMatchesRegularExpression($expectedPattern, $result);
7272
}
7373

0 commit comments

Comments
 (0)