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 <noreply@anthropic.com>
This commit is contained in:
1 parent
e6c0d0d51b
commit
08733c6fa2
1 file changed
+5
-2
@@ -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:?}"
|
||||
);
|
||||
}
|
||||
Reference in new issue
Block a user