コード例 #1
0
 public function testFinish()
 {
     $this->assertEquals('abbc', Str::finish('ab', 'bc'));
     $this->assertEquals('abbc', Str::finish('abbcbc', 'bc'));
     $this->assertEquals('abcbbc', Str::finish('abcbbcbc', 'bc'));
 }