Skip to content

Change Data attributes numeric and minor_unit to u16#15

Merged
mfirhas merged 1 commit into
masterfrom
copilot/change-data-attributes-to-u16
May 8, 2026
Merged

Change Data attributes numeric and minor_unit to u16#15
mfirhas merged 1 commit into
masterfrom
copilot/change-data-attributes-to-u16

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented May 8, 2026

Changes

  • Changed Data.numeric field type from &'static str to u16
  • Changed Data.minor_unit field type from &'static str to u16
  • Updated all entries in the static ISO_CURRENCY_DATA map to use integer literals instead of string literals
  • Updated tests to compare against u16 values instead of string values

All 188 tests pass and coverage is maintained.

Copilot AI requested a review from mfirhas May 8, 2026 04:14
Copilot finished work on behalf of mfirhas May 8, 2026 04:14
@mfirhas mfirhas marked this pull request as ready for review May 8, 2026 04:14
@codecov-commenter
Copy link
Copy Markdown

⚠️ Please install the 'codecov app svg image' to ensure uploads and comments are reliably processed by Codecov.

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@mfirhas mfirhas merged commit b574dec into master May 8, 2026
6 checks passed
@mfirhas mfirhas deleted the copilot/change-data-attributes-to-u16 branch May 8, 2026 04:18
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