test(store): the unknown-event example is one no version knows (P8 wrote period.attested)
The gate on 88874216: `every_known_event_type_has_replay_and_projection_arms`
still used `period.attested` as the type a later phase adds; P8 added
it, so the line replayed instead of reading as newer.
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01HS8WZziDnyxunC23MUxrLp
This commit is contained in:
1 parent
1d3292678a
commit
8ba104a15a
1 file changed
+3
-2
@@ -719,8 +719,9 @@ mod tests {
|
||||
"{t}: no projection arm"
|
||||
);
|
||||
}
|
||||
// A type a later phase adds (plan/served.md 5.2, P8).
|
||||
let l = line("period.attested", json!({}));
|
||||
// A type no version knows yet (`period.attested` was the example
|
||||
// until P8 wrote it).
|
||||
let l = line("ledger.not_yet_written", json!({}));
|
||||
let mut ledger = Ledger::new(Currency::USD);
|
||||
assert!(is_newer(&replay_line_into_ledger(
|
||||
&mut ledger,
|
||||
|
||||
Reference in new issue
Block a user