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 aa25c51 commit 5810ae1Copy full SHA for 5810ae1
src/Codeception/Module/Asserts.php
@@ -22,6 +22,8 @@ class Asserts extends Module
22
assertLessThanOrEqual as public;
23
assertContains as public;
24
assertNotContains as public;
25
+ assertRegExp as public;
26
+ assertNotRegExp as public;
27
assertEmpty as public;
28
assertNotEmpty as public;
29
assertNull as public;
tests/unit/Codeception/Module/AssertsTest.php
@@ -8,6 +8,8 @@ public function testAsserts()
8
$module->assertContains(1,[1,2]);
9
$module->assertSame(1,1);
10
$module->assertNotSame(1,true);
11
+ $module->assertRegExp('/^[\d]$/','1');
12
+ $module->assertNotRegExp('/^[a-z]$/','1');
13
}
14
15
0 commit comments