# made by 100x verify mutate
# command: X100_FAST=1 node --test --test-name-pattern="a property is unchecked until it runs|a change to covered code makes the property stale|a failing check is broken|amend needs evidence|code with no rule starts the procedure|a waiver is named in the report|a row that is wrong is refused|what a run means is the same everywhere" test/verify.test.mjs
# defect: lib/verify.mjs:122 word: 'waived' becomes 'unchecked'
# exit: 1
# digest: c7f11a8ee27ec6de
FAIL  ledger-states. a planted defect made the check fail at lib/verify.mjs:122: word: 'waived' becomes 'unchecked' (exit 1)
✔ a property is unchecked until it runs, unproven until it has failed once, and holds only then (4352.632166ms)
✔ a change to covered code makes the property stale, and only a fresh green run plus a written note moves it forward (5981.923292ms)
✔ a failing check is broken, and an exhaustive claim is refused when the checker says it was bounded (2789.111958ms)
✔ amend needs evidence, keeps the old wording in the log and leaves the property unchecked (3769.546625ms)
✖ a row that is wrong is refused in a sentence that says what to do, and a run, a sync and a waiver leave the record they should (1206.516208ms)
✔ what a run means is the same everywhere: exit 0, no timeout, no FAIL line, and a claim of exhaustive is not met by a bounded run (0.164041ms)
✔ code with no rule starts the procedure, and a waiver or a property ends the question (4734.39375ms)
✔ a waiver is named in the report with the code it excuses, two paths never share an id, and a link loop is not walked (893.260125ms)
ℹ tests 8
ℹ suites 0
ℹ pass 7
ℹ fail 1
ℹ cancelled 0
ℹ skipped 0
ℹ todo 0
ℹ duration_ms 24796.1935

✖ failing tests:

test at test/verify.test.mjs:109:1
✖ a row that is wrong is refused in a sentence that says what to do, and a run, a sync and a waiver leave the record they should (1206.516208ms)
  AssertionError [ERR_ASSERTION]: Expected values to be strictly deep-equal:
  + actual - expected
  
    {
  +   state: 'unchecked',
  -   state: 'waived',
      why: 'nothing to state about the layout of this file'
    }
  
      at TestContext.<anonymous> (file://<project>/test/verify.test.mjs:171:10)
      at Test.runInAsyncScope (node:async_hooks:226:14)
      at Test.run (node:internal/test_runner/test:1402:25)
      at Test.processPendingSubtests (node:internal/test_runner/test:974:18)
      at Test.postRun (node:internal/test_runner/test:1542:19)
      at Test.run (node:internal/test_runner/test:1467:12)
      at async Test.processPendingSubtests (node:internal/test_runner/test:974:7) {
    generatedMessage: true,
    code: 'ERR_ASSERTION',
    actual: { state: 'unchecked', why: 'nothing to state about the layout of this file' },
    expected: { state: 'waived', why: 'nothing to state about the layout of this file' },
    operator: 'deepStrictEqual',
    diff: 'simple'
  }
