Skip to content

[BUG]: Unittest Fails #16781

@arshidkv12

Description

@arshidkv12

Describe the bug

/Users/arshid/Desktop/cphalcon/tests/syntax/volt/statements/switchcase/010.phpt
Failed asserting that string matches format description.
--- Expected
+++ Actual
@@ @@
-Fatal error: Uncaught Phalcon\Mvc\View\Exception: Syntax error, unexpected token %} in eval code on line 1 in %s010.php:12
+Fatal error: Uncaught Phalcon\Mvc\View\Exception: Syntax error, unexpected token %} in eval code on line 1 in Standard input code:12
 Stack trace:
-#0 %s010.php(12): Phalcon\Mvc\View\Engine\Volt\Compiler->parse('{% switch %}\n  ...')
+#0 Standard input code(12): Phalcon\Mvc\View\Engine\Volt\Compiler->parse('{% switch %}\n  ...')
 #1 {main}
-  thrown in %s010.php on line 12
+  thrown in Standard input code on line 12

To Reproduce
vendor/bin/phpunit tests

Details
PHP 8.2.23
Phalcon 5.9.3

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions