mirror of
https://github.com/DesignPatternsPHP/DesignPatternsPHP.git
synced 2025-07-31 04:00:18 +02:00
Replaced with strict assertions
This commit is contained in:
@@ -20,7 +20,7 @@ class FlyweightTest extends TestCase
|
||||
$flyweight = $factory->get($char);
|
||||
$rendered = $flyweight->render($font);
|
||||
|
||||
$this->assertEquals(sprintf('Character %s with font %s', $char, $font), $rendered);
|
||||
$this->assertSame(sprintf('Character %s with font %s', $char, $font), $rendered);
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user