From a86533a6ace7bb67dbbb49ff030748d50cabb515 Mon Sep 17 00:00:00 2001 From: Alliballibaba Date: Mon, 22 Dec 2025 21:34:52 +0100 Subject: [PATCH] Adds echos for debugging. --- internal/extgen/integration_test.go | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/internal/extgen/integration_test.go b/internal/extgen/integration_test.go index 86723fc3..59783578 100644 --- a/internal/extgen/integration_test.go +++ b/internal/extgen/integration_test.go @@ -738,36 +738,42 @@ func TestCallable(t *testing.T) { err = suite.verifyFunctionBehavior(`transform('hello', function($s) { return strtoupper($s); }); if ($result !== 'HELLO') { @@ -775,12 +781,14 @@ if ($result !== 'HELLO') { exit(1); } +echo "Testing Processor::transform with function name\n"; $result = $processor->transform('world', 'strtoupper'); if ($result !== 'WORLD') { echo "FAIL: Processor::transform with function name expected 'WORLD', got '$result'"; exit(1); } +echo "Testing Processor::transform with trim function\n"; $result = $processor->transform(' test ', 'trim'); if ($result !== 'test') { echo "FAIL: Processor::transform with trim expected 'test', got '$result'";