test(core): the Lean-model test requires D-73 to have landed; cargo fmt
The engine now refuses a reversal dated before its original (D-73), so the gap the Lean-model test counted (the engine accepting a backdated plain reversal the model refuses) is zero: the recipe sets WANDERBOOKS_D73_LANDED, making any return of it a failure, and the test's error mapping follows the variant's new name (ReversalBeforeOriginal). 256 sequences, 2,204 commands: 0 mismatched, 0 gaps. Also formats the adapter's PICKS list, left unformatted by the S-C7 renumbering. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
5de13d480b
commit
3b59f7fec9
3 files changed
+7
-5
No files matched your search
@@ -237,9 +237,7 @@ fn lean_word(e: &LedgerError) -> String {
|
||||
LedgerError::UnknownEntry(_) => "unknown_entry".to_string(),
|
||||
LedgerError::UnknownPeriod(_) => "unknown_period".to_string(),
|
||||
LedgerError::EntryNotPosted(_) => "not_drafted".to_string(),
|
||||
LedgerError::DocumentReversalBeforeOriginal { .. } => {
|
||||
"reversal_before_original".to_string()
|
||||
}
|
||||
LedgerError::ReversalBeforeOriginal { .. } => "reversal_before_original".to_string(),
|
||||
LedgerError::DuplicateAccountCode(_) => "code_taken".to_string(),
|
||||
other => refusal(other),
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user