From 03e7776ee5672e330fc67e98e5b1eef6d9af2dc0 Mon Sep 17 00:00:00 2001 From: Konrad Abicht Date: Wed, 28 Feb 2024 13:03:08 +0100 Subject: [PATCH] Update test/TriGParserTest.php --- test/TriGParserTest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/TriGParserTest.php b/test/TriGParserTest.php index 6d0e52b..6d31541 100644 --- a/test/TriGParserTest.php +++ b/test/TriGParserTest.php @@ -69,7 +69,7 @@ public function shouldNotParse($createParser, $input, $expectedError = null): vo $this->fail("Expected this error to be thrown (but it wasn't): ".$expectedError); } }); - if (!$errorReceived) { + if (false === $errorReceived) { $this->fail("Expected this error to be thrown (but it wasn't): ".$expectedError); } }