# made by 100x verify mutate
# command: X100_FAST=1 node --test test/engine-drift.test.mjs
# defect: lib/engine-drift.mjs:20 number: 2 becomes 3
# exit: 1
# digest: 904632c7c955cdd2
FAIL  engine-drift. a planted defect made the check fail at lib/engine-drift.mjs:20: number: 2 becomes 3 (exit 1)
✔ the version of an engine is the number below its line, one for a copy made before there was a number, and none for a file with no engine (5.674125ms)
✔ every version of the engine from 2 to the one shipped has a sentence that says what it added (0.2025ms)
✔ status names a check file with an older engine, with the rows that use it, and a file the command runs counts as well as a file the row covers (6570.364333ms)
✔ it says nothing when every check file has the engine the skill ships, or has no engine (3590.918792ms)
✔ it is a note and never a failure: a holding property with an old engine keeps status green (3989.416625ms)
✔ drift reads a folder in covers file by file, leaves a script path out of the project or with a variable in it alone, and cuts a long list (13.348208ms)
✖ a check file of exactly two megabytes is read and one byte more is not, and a word that cannot name a script of the project is left alone (10.664333ms)
✔ six files are listed in full, a seventh is counted, and a file used by three rows names them all (0.480959ms)
ℹ tests 8
ℹ suites 0
ℹ pass 7
ℹ fail 1
ℹ cancelled 0
ℹ skipped 0
ℹ todo 0
ℹ duration_ms 15979.758167

✖ failing tests:

test at test/engine-drift.test.mjs:99:1
✖ a check file of exactly two megabytes is read and one byte more is not, and a word that cannot name a script of the project is left alone (10.664333ms)
  AssertionError [ERR_ASSERTION]: a file past two megabytes is not a model, and it is not read
  + actual - expected
  
    [
      'verify/at-limit.mjs',
  +   'verify/past-limit.mjs'
    ]
  
      at TestContext.<anonymous> (file://<project>/test/engine-drift.test.mjs:106: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: false,
    code: 'ERR_ASSERTION',
    actual: [ 'verify/at-limit.mjs', 'verify/past-limit.mjs' ],
    expected: [ 'verify/at-limit.mjs' ],
    operator: 'deepStrictEqual',
    diff: 'simple'
  }
