Skip to content

Commit

Permalink
added test for new func, just in case
Browse files Browse the repository at this point in the history
  • Loading branch information
irhen committed May 24, 2018
1 parent c0e8094 commit a1eb52c
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tests/StrTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,9 @@ public function testGetString()
$this->assertEquals((string)$s, 'Hello world');
$this->assertEquals((string)$s, $s);
$this->assertEquals($s->getString(), 'Hello world');

$s = Str::make('Hii');
$this->assertEquals((string)$s, 'Hii');
}

public function testPrefixSuffix()
Expand Down

0 comments on commit a1eb52c

Please sign in to comment.