/** @test */ public function itShouldSafeCompareStrings() { $a = 'secret'; $b = 'secret'; $this->assertTrue(Str::safeCmp($a, $b)); $a = 'secret'; $b = 'somesecretkey'; $this->assertFalse(Str::safeCmp($a, $b)); $a = 'secret'; $b = 'secrut'; $this->assertFalse(Str::safeCmp($a, $b)); }