# made by 100x verify mutate
# command: X100_FAST=1 node --test --test-name-pattern="--all takes no property" test/mutate-all.test.mjs
# defect: lib/mutate-all.mjs:129 condition: rest.length || values.file?.length || values.lines !== undefined || values.edits || values.keep becomes true
# exit: 1
# digest: ffa453e4ca22fa5b
FAIL  mutate-all-refusals. a planted defect made the check fail at lib/mutate-all.mjs:129: condition: rest.length || values.file?.length || values.lines !== undefined || values.edits || values.keep becomes true (exit 1)
✖ --all takes no property and none of the options that name one place, and a ledger with nothing to measure is said so (10875.906375ms)
ℹ tests 1
ℹ suites 0
ℹ pass 0
ℹ fail 1
ℹ cancelled 0
ℹ skipped 0
ℹ todo 0
ℹ duration_ms 12344.325417

✖ failing tests:

test at test/mutate-all.test.mjs:177:1
✖ --all takes no property and none of the options that name one place, and a ledger with nothing to measure is said so (10875.906375ms)
  AssertionError [ERR_ASSERTION]: The input did not match the regular expression /--max must be a whole number from 1/. Input:
  
  '100x: --all measures every property as the ledger covers it, so it takes no property id and none of --file, --lines, --edits and --keep. To use them, name one property: 100x verify mutate <id> --lines 3-9.\n'
  
      at TestContext.<anonymous> (file://<project>/test/mutate-all.test.mjs:191:10)
      at Test.runInAsyncScope (node:async_hooks:226:14)
      at Test.run (node:internal/test_runner/test:1402:25)
      at Test.start (node:internal/test_runner/test:1262:17)
      at startSubtestAfterBootstrap (node:internal/test_runner/harness:387:17) {
    generatedMessage: true,
    code: 'ERR_ASSERTION',
    actual: '100x: --all measures every property as the ledger covers it, so it takes no property id and none of --file, --lines, --edits and --keep. To use them, name one property: 100x verify mutate <id> --lines 3-9.\n',
    expected: /--max must be a whole number from 1/,
    operator: 'match',
    diff: 'simple'
  }
