# made by 100x verify mutate
# command: X100_FAST=1 node --test --test-name-pattern="a check that is green in the project and red in the copy|--keep names the folder" test/mutate.test.mjs
# defect: lib/mutate.mjs:395 word: 'git' becomes '--others'
# exit: 1
# digest: a38a769464512b80
FAIL  mutate-copies. a planted defect made the check fail at lib/mutate.mjs:395: word: 'git' becomes '--others' (exit 1)
✖ a check that is green in the project and red in the copy is refused with the files that git ignores and the copy lacks, and not with advice that goes in a circle (8399.032959ms)
✔ --keep names the folder of the copies in the report, in the JSON and in a refusal, and without it nothing is named and nothing is left (44792.810834ms)
ℹ tests 2
ℹ suites 0
ℹ pass 1
ℹ fail 1
ℹ cancelled 0
ℹ skipped 0
ℹ todo 0
ℹ duration_ms 56257.5915

✖ failing tests:

test at test/mutate.test.mjs:457:1
✖ a check that is green in the project and red in the copy is refused with the files that git ignores and the copy lacks, and not with advice that goes in a circle (8399.032959ms)
  AssertionError [ERR_ASSERTION]: The input did not match the regular expression /the check is red on the code as it is \(exit 1\), so there is nothing to measure against\. Fix it first: 100x verify run pay-rules\. Its last lines:\n {4}FAIL {2}missing data\n {2}The copy holds the files git lists, with node_modules linked\. This is in the project and not in the copy, because git ignores it: data\.txt\. A check that reads one of them is red in the copy and green in the project\./. Input:
  
  '100x: the check is red on the code as it is (exit 1), so there is nothing to measure against. Fix it first: 100x verify run pay-rules. Its last lines:\n' +
    '    FAIL  missing data.\n'
  
      at TestContext.<anonymous> (file://<project>/test/mutate.test.mjs:462: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: the check is red on the code as it is (exit 1), so there is nothing to measure against. Fix it first: 100x verify run pay-rules. Its last lines:\n    FAIL  missing data.\n',
    expected: /the check is red on the code as it is \(exit 1\), so there is nothing to measure against\. Fix it first: 100x verify run pay-rules\. Its last lines:\n {4}FAIL {2}missing data\n {2}The copy holds the files git lists, with node_modules linked\. This is in the project and not in the copy, because git ignores it: data\.txt\. A check that reads one of them is red in the copy and green in the project\./,
    operator: 'match',
    diff: 'simple'
  }
