Skip to content

Commit

Permalink
Added additional Str::slug tests (#31791)
Browse files Browse the repository at this point in the history
  • Loading branch information
GrahamCampbell authored Mar 6, 2020
1 parent bea64e4 commit fa901c3
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tests/Support/SupportStrTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -178,6 +178,9 @@ public function testSlug()
$this->assertSame('hello_world', Str::slug('hello_world', '_'));
$this->assertSame('user-at-host', Str::slug('user@host'));
$this->assertSame('سلام-دنیا', Str::slug('سلام دنیا', '-', null));
$this->assertSame('sometext', Str::slug('some text', ''));
$this->assertSame('', Str::slug('', ''));
$this->assertSame('', Str::slug(''));
}

public function testStrStart()
Expand Down

0 comments on commit fa901c3

Please sign in to comment.