Skip to content

Commit

Permalink
test: improvement tests for Str::kebab method (#50926)
Browse files Browse the repository at this point in the history
  • Loading branch information
saMahmoudzadeh authored Apr 5, 2024
1 parent 29acd21 commit e22bff0
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 @@ -533,6 +533,9 @@ public function testIsMatch()
public function testKebab()
{
$this->assertSame('laravel-php-framework', Str::kebab('LaravelPhpFramework'));
$this->assertSame('laravel-php-framework', Str::kebab('Laravel Php Framework'));
$this->assertSame('laravel❤-php-framework', Str::kebab('Laravel ❤ Php Framework'));
$this->assertSame('', Str::kebab(''));
}

public function testLower()
Expand Down

0 comments on commit e22bff0

Please sign in to comment.