From 08733c6fa2043c5ea2b33aa55c67029d1942f73b Mon Sep 17 00:00:00 2001 From: Stephen Waits Date: Sun, 8 Nov 2026 21:56:37 -0700 Subject: [PATCH] test(core): five examples are for options wanderbooks did not pick The bookspec adapter's test pinned the examples for an unpicked option at three (the other option of BS-arap-7, -8 and -9). The bookspec fixes give BS-prepaid-2's equal-months and BS-ledger-20's refuse each an example of their own, so no option-example allow-list grows; wanderbooks picks daily and warn-by-default, so it skips both, and the count is five. The runner and the loader tests still agree on exactly which. Co-Authored-By: Claude Sonnet 5.5 --- crates/ledger-core/tests/bookspec/examples.rs | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/crates/ledger-core/tests/bookspec/examples.rs b/crates/ledger-core/tests/bookspec/examples.rs index 727aae7d..a8e5b0be 100644 --- a/crates/ledger-core/tests/bookspec/examples.rs +++ b/crates/ledger-core/tests/bookspec/examples.rs @@ -156,9 +156,12 @@ pub(crate) fn every_bookspec_example_holds() { files.len() - skipped.len(), skipped.len() ); + // The examples for an option wanderbooks did not pick: the other option + // of BS-arap-7, -8 and -9, BS-prepaid-2's equal-months and BS-ledger-20's + // refuse (each option's example, so no allow-list grows). assert_eq!( skipped.len(), - 3, - "the three unpicked-option examples: {skipped:?}" + 5, + "the five unpicked-option examples: {skipped:?}" ); }