Skip to content

Commit

Permalink
Add tests
Browse files Browse the repository at this point in the history
  • Loading branch information
nichtich committed Aug 29, 2017
1 parent 8475f2e commit 69edec7
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tests/LanguageMapOfStringsTest.php
Expand Up @@ -19,6 +19,9 @@ public function testConstruct()

$nonstrict = new LanguageMapOfStrings([0=>[], 'en'=>'hi']);
$this->assertEquals($map, $nonstrict);

$map['en'] = null;
$this->assertEquals(new LanguageMapOfStrings(), $map);
}

public function testJson()
Expand Down
1 change: 1 addition & 0 deletions tests/SetTest.php
Expand Up @@ -7,6 +7,7 @@

/**
* @covers JSKOS\Set
* @covers JSKOS\Container
*/
class SetTest extends \PHPUnit\Framework\TestCase
{
Expand Down

0 comments on commit 69edec7

Please sign in to comment.