# made by 100x verify mutate
# command: X100_FAST=1 node --test --test-name-pattern="names the temp folder or the home folder|is kept without the project its copy links|a long failing run is written without its places" test/mutate.test.mjs
# defect: lib/mutate.mjs:450 logic: || becomes &&
# exit: 1
# digest: bb8c952979367b44
FAIL  red-run-places. a planted defect made the check fail at lib/mutate.mjs:450: logic: || becomes && (exit 1)
✔ a failing run that names the temp folder or the home folder of this machine is kept without them, so no path of it goes into git (44731.4335ms)
✖ a failing run is kept without the project its copy links node_modules from or the folder above the copy, and a folder that only starts like the home folder stays as it was (11004.281375ms)
✔ a long failing run is written without its places first and cut to its end after, and what is not a place is kept word for word (20332.910041ms)
ℹ tests 3
ℹ suites 0
ℹ pass 2
ℹ fail 1
ℹ cancelled 0
ℹ skipped 0
ℹ todo 0
ℹ duration_ms 77381.192333

✖ failing tests:

test at test/mutate.test.mjs:419:1
✖ a failing run is kept without the project its copy links node_modules from or the folder above the copy, and a folder that only starts like the home folder stays as it was (11004.281375ms)
  AssertionError [ERR_ASSERTION]: a home folder written with a slash at its end still leaves the slash of the path that follows it
  + actual - expected
  
  + 'Home: <tmp>/100x-test-cNE9za/home/notes.'
  - 'Home: ~/notes.'
           ^
  
      at TestContext.<anonymous> (file://<project>/test/mutate.test.mjs:444: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 startSubtestAfterBootstrap (node:internal/test_runner/harness:387:3) {
    generatedMessage: false,
    code: 'ERR_ASSERTION',
    actual: 'Home: <tmp>/100x-test-cNE9za/home/notes.',
    expected: 'Home: ~/notes.',
    operator: 'strictEqual',
    diff: 'simple'
  }
