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 for table.merge. #2261

Merged
merged 1 commit into from
Sep 26, 2024
Merged

Conversation

tritao
Copy link
Contributor

@tritao tritao commented Sep 25, 2024

Fixes table.merge for array-based tables.

Add tests and cross-link docs for table.merge/join.

@tritao tritao marked this pull request as ready for review September 25, 2024 23:31
Copy link
Contributor

@Jarod42 Jarod42 left a comment

Choose a reason for hiding this comment

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

Maybe you wanted to use table.join instead?

tests/base/test_table.lua Outdated Show resolved Hide resolved
src/base/table.lua Outdated Show resolved Hide resolved
@tritao tritao changed the title Fix table.merge for array-based tables. Add tests for table.merge. Sep 26, 2024
@tritao
Copy link
Contributor Author

tritao commented Sep 26, 2024

Maybe you wanted to use table.join instead?

Missed this one... and yep that's exactly what I need.

Reworked the PR to just keep the tests and improve the docs.

@samsinsane samsinsane merged commit ac2146d into premake:master Sep 26, 2024
14 checks passed
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.

3 participants