From 4cdbcad35dd2bcf11acc452e4ca9f6d8737853e0 Mon Sep 17 00:00:00 2001 From: Christian Schneider Date: Mon, 12 Oct 2026 18:14:14 +0200 Subject: Migrate test function is() to is_() to fix PHP 8.6 warning --- test/it_error.t | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'test/it_error.t') diff --git a/test/it_error.t b/test/it_error.t index a45e312..f12c05c 100755 --- a/test/it_error.t +++ b/test/it_error.t @@ -18,9 +18,9 @@ else $trace = $trace = it::match('Trace: *(\S*)', $errbody); $stack = $stack = it::match('Stack:\n\s*(\S*)', $errbody); if ($trace) - is($trace, $expect, "testcase $testnum: correct single line trace on $expect"); + is_($trace, $expect, "testcase $testnum: correct single line trace on $expect"); if ($stack) - is($stack, $expect, "testcase $testnum: correct multi line trace on $expect"); + is_($stack, $expect, "testcase $testnum: correct multi line trace on $expect"); } } -- cgit v1.2.3