Skip to content

add more tests, some tweaks for error messages#133

Merged
matyalatte merged 1 commit intomainfrom
add_tests
Feb 21, 2026
Merged

add more tests, some tweaks for error messages#133
matyalatte merged 1 commit intomainfrom
add_tests

Conversation

@matyalatte
Copy link
Owner

@matyalatte matyalatte commented Feb 21, 2026

I added more unit tests for future updates, and fixed nits.

  • Fixed a bug where an error message for unknown codepages did not have line and column.
  • static_text now does not throw errors for duplicated IDs.
  • An error message for unknown component types is now prioritized over other component errors.
  • Fixed a crash when noex::vector threw the out of bounds error.
    (Tuw does not throw the out of bounds error tho.)

Note

This patch just changes some JSON error messages. There is nothing you should inform to users.

@matyalatte matyalatte added bugfix Pull request for bugfix code quality Improvements to enhance readability and maintainability labels Feb 21, 2026
@matyalatte matyalatte merged commit 92cd055 into main Feb 21, 2026
11 checks passed
@matyalatte matyalatte deleted the add_tests branch February 21, 2026 15:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bugfix Pull request for bugfix code quality Improvements to enhance readability and maintainability

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant