We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7c5b50d commit a6d10dbCopy full SHA for a6d10db
tests/BaseTest.php
@@ -182,7 +182,7 @@ public function testIgnoreRecursiveMetadata(string $file): void
182
*/
183
public function testDocumentLanguage(string $file): void
184
{
185
- $this->assertMatchesRegularExpression('/^[a-z]{2}$/', self::$client->getLanguage($file));
+ $this->assertRegExp('/^[a-z]{2}$/', self::$client->getLanguage($file));
186
}
187
188
/**
@@ -268,7 +268,7 @@ public function testImageOCR(string $file): void
268
269
$text = self::$client->getText($file);
270
271
- $this->assertMatchesRegularExpression('/voluptate/i', $text);
+ $this->assertRegExp('/voluptate/i', $text);
272
273
274
0 commit comments