Skip to content

Commit

Permalink
Increase comparison strictness
Browse files Browse the repository at this point in the history
  • Loading branch information
Stratadox committed Jul 1, 2017
1 parent 9600fff commit 98026bc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/ContainerTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -238,7 +238,7 @@ public function shouldReturnScalarOnCorrectType()
return 'Hello world!';
});

$this->assertEquals('Hello world!', $di->get('string', 'string'));
$this->assertSame('Hello world!', $di->get('string', 'string'));
}

/**
Expand Down Expand Up @@ -317,7 +317,7 @@ public function factoriesThatForgetThemselvesProduceOnceAndQuitForever()
return 'Bye!';
});

$this->assertEquals('Bye!', $di->get('foo'));
$this->assertSame('Bye!', $di->get('foo'));
$this->assertFalse($di->has('foo'));
}

Expand Down

0 comments on commit 98026bc

Please sign in to comment.