Skip to content

chore: minor housekeeping - format, ci update, more tests#824

Merged
jonbhanson merged 2 commits intojonbhanson:masterfrom
ersanKolay:chore/project-maintenance
Mar 22, 2026
Merged

chore: minor housekeeping - format, ci update, more tests#824
jonbhanson merged 2 commits intojonbhanson:masterfrom
ersanKolay:chore/project-maintenance

Conversation

@ersanKolay
Copy link
Copy Markdown
Contributor

@ersanKolay ersanKolay commented Mar 10, 2026

Hey! Just some small cleanup while going through the codebase:

  • Code formatting: example/lib/main.dart had a minor formatting issue caught by dart format
  • CI: bumped actions/checkout from v2 to v4 (v2 has been deprecated by GitHub)
  • Tests: expanded parseColor tests with more edge cases — int inputs from YAML, invalid strings, null handling, etc.

Nothing fancy, just keeping things tidy.

- ran dart format on example app
- bumped actions/checkout from v2 to v4
- added more parseColor test cases (edge cases for int input,
  invalid strings, null handling)
Comment on lines +29 to +32
// YAML parses unquoted numeric values like 000000 as int 0
expect(parseColor(0), '000000');
// YAML parses 123456 as int
expect(parseColor(123456), '123456');
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Suggested change
// YAML parses unquoted numeric values like 000000 as int 0
expect(parseColor(0), '000000');
// YAML parses 123456 as int
expect(parseColor(123456), '123456');
expect(parseColor(0), '000000');
expect(parseColor(123456), '123456');

Co-authored-by: Nico Mexis <nico.mexis@kabelmail.de>
@jonbhanson jonbhanson merged commit e1b94e3 into jonbhanson:master Mar 22, 2026
1 check 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