test(core): every SOURCE line names a rule or source that exists
source_refs in the bookspec suite: every SOURCE: line in crates/*/src cites a BS id the pinned bookspec has (bookspec_checker::rules()), a WB id in docs/spec/claims/, an existing repo path, or an external/declared source; unknown BS/WB ids fail. A second test fails if a retired rules.md B-n reference remains outside plan/ and the map files. Co-Authored-By: Muse Wonder 1.0
This commit is contained in:
1 parent
7928531c47
commit
ec366e7e14
2 files changed
+261
-1
No files matched your search
@@ -42,7 +42,7 @@
|
||||
|
||||
pub(crate) use std::borrow::Borrow;
|
||||
pub(crate) use std::collections::{BTreeMap, BTreeSet};
|
||||
pub(crate) use std::path::Path;
|
||||
pub(crate) use std::path::{Path, PathBuf};
|
||||
|
||||
pub(crate) use chrono::{Datelike, NaiveDate};
|
||||
pub(crate) use ledger_core::calendar::{PeriodDefaults, period_defaults};
|
||||
@@ -93,4 +93,5 @@ mod pin;
|
||||
mod queries;
|
||||
mod rules_md;
|
||||
mod run;
|
||||
mod source_refs;
|
||||
mod sources;
|
||||
Reference in new issue
Block a user