Skip to content

test(locallibrary): declare the sizes option the export overflow test passes - #348

Merged
botandbang merged 1 commit into
mainfrom
bnb/export-sizes-option
Oct 31, 2026
Merged

botandbang merged 1 commit into
mainfrom
bnb/export-sizes-option

Conversation

@botandbang

Copy link
Copy Markdown
Contributor

an_exports_sizes_that_overflow_are_refused (added in #304) fails on main with "this format has no options, not even "sizes"". #304's test passes the test plugin a sizes option on the echo plugin's m3u exporter, which declares no options, and #313 made the host refuse options a format doesn't declare. Each PR passed CI on its own; together on main the test fails every run.

Changed:

  • The exporting() fixture in tests/it/plugins.rs, which declares the test plugin's own export options, also declares sizes (an array of integers).
  • The test uses Fixture::exporting() in place of Fixture::echo().

Nothing in the host changes. The test fails on main f7f7277 and passes with this (5 of 5 runs), along with the 204 plugin tests and clippy.

@botandbang
botandbang requested a review from bnb as a code owner October 31, 2026 15:26
@github-actions github-actions Bot added locallibrary locallibrary and the loclib-* crates locallibrary: core The core crate, the data model and rekordbox's formats locallibrary: plugins The plugin protocol, its host and the built-in plugins tests Tests, fixtures and test harnesses labels Oct 31, 2026
@botandbang
botandbang enabled auto-merge October 31, 2026 15:27
@github-actions

Copy link
Copy Markdown

Rust coverage

From run 674. Both are held to the thresholds in .cargo/config.toml.

Tests Lines Functions Regions
All 97.39% (84406/86668) 96.53% (13503/13989) 95.66% (185840/194265)
Hegel property tests alone 95.39% (82669/86668) 94.1% (13163/13989) 93.46% (181565/194265)

@botandbang
botandbang merged commit 53f813b into main Oct 31, 2026
68 checks passed
@botandbang
botandbang deleted the bnb/export-sizes-option branch October 31, 2026 15:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

locallibrary: core The core crate, the data model and rekordbox's formats locallibrary: plugins The plugin protocol, its host and the built-in plugins locallibrary locallibrary and the loclib-* crates tests Tests, fixtures and test harnesses

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants