File tree Expand file tree Collapse file tree 2 files changed +4
-0
lines changed
tests/unit/Codeception/Module Expand file tree Collapse file tree 2 files changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -48,6 +48,8 @@ class Asserts extends CodeceptionModule
48
48
assertCount as public ;
49
49
assertStringStartsWith as public ;
50
50
assertStringStartsNotWith as public ;
51
+ assertStringEndsWith as public ;
52
+ assertStringEndsNotWith as public ;
51
53
assertNotTrue as public ;
52
54
assertNotFalse as public ;
53
55
assertStringContainsString as public ;
Original file line number Diff line number Diff line change @@ -25,6 +25,8 @@ public function testAsserts()
25
25
$ this ->module ->assertNotRegExp ('/^[a-z]$/ ' , '1 ' );
26
26
$ this ->module ->assertStringStartsWith ('fo ' , 'foo ' );
27
27
$ this ->module ->assertStringStartsNotWith ('ba ' , 'foo ' );
28
+ $ this ->module ->assertStringEndsWith ('oo ' , 'foo ' );
29
+ $ this ->module ->assertStringEndsNotWith ('fo ' , 'foo ' );
28
30
$ this ->module ->assertEmpty ([]);
29
31
$ this ->module ->assertNotEmpty ([1 ]);
30
32
$ this ->module ->assertNull (null );
You can’t perform that action at this time.
0 commit comments