|
@@ -96,6 +96,8 @@ class StrTest extends PHPUnit_Framework_TestCase {
|
|
$this->assertEquals('Users', Str::plural('User'));
|
|
$this->assertEquals('Users', Str::plural('User'));
|
|
$this->assertEquals('user', Str::plural('user', 1));
|
|
$this->assertEquals('user', Str::plural('user', 1));
|
|
$this->assertEquals('users', Str::plural('user', 2));
|
|
$this->assertEquals('users', Str::plural('user', 2));
|
|
|
|
+ $this->assertEquals('chassis', Str::plural('chassis', 2));
|
|
|
|
+ $this->assertEquals('traffic', Str::plural('traffic', 2));
|
|
}
|
|
}
|
|
|
|
|
|
/**
|
|
/**
|
|
@@ -130,4 +132,4 @@ class StrTest extends PHPUnit_Framework_TestCase {
|
|
$this->assertEquals(40, strlen(Str::random(40)));
|
|
$this->assertEquals(40, strlen(Str::random(40)));
|
|
}
|
|
}
|
|
|
|
|
|
-}
|
|
|
|
|
|
+}
|