Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add tests that should alert on {$enum} in templates, but passes #455

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

spaze
Copy link
Contributor

@spaze spaze commented Feb 18, 2024

Today I was changing some constants to enums, and {$enum} in a template fails with "Object of ... could not be converted to string" but this extension doesn't support it yet, so I thought I'd create a (failing) test at least.

@spaze spaze changed the title Add tests that should fail on {$enum} in templates Add tests that should alert on {$enum} in templates, but passes Feb 18, 2024
Because enum "could not be converted to string".
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant