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

Fix load_string() ignoring the passed chunk name #6794

Merged
merged 3 commits into from Jun 24, 2022
Merged

Conversation

CelticMinstrel
Copy link
Member

@CelticMinstrel CelticMinstrel commented Jun 23, 2022

Complete with a unit test!
The test results in PASS_BY_VICTORY if it fails, which is a bit weird, but it does work.

There was a comment on this commit noting that it won't work without the events PR (#5663), but I suspect that comment is outdated, so I'm opening this to test the CI.

Complete with a unit test!
The test results in PASS_BY_VICTORY if it fails,
which is a bit weird, but it does work.
@github-actions github-actions bot added Lua API Issues with the Lua engine and API. Unit Tests Issues involving Wesnoth's unit test suite. labels Jun 23, 2022
[event]
name=start
[lua]
name=test
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Likely not needed, but I'd prefer the name here be something more unique than just "test".

@CelticMinstrel CelticMinstrel merged commit 666571c into master Jun 24, 2022
@CelticMinstrel CelticMinstrel deleted the fix_lua_name branch June 24, 2022 05:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Lua API Issues with the Lua engine and API. Unit Tests Issues involving Wesnoth's unit test suite.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants