refactor: simplify pass (trekexecute)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
parent
1f5b42556e
commit
9b80e6c14c
3 changed files with 8 additions and 11 deletions
|
|
@ -161,14 +161,14 @@ const MUTATIONS = [
|
|||
find: "const q1 = c === '$' ? skip(k + 1) : k + 1;",
|
||||
replace: 'const q1 = k + 1;',
|
||||
pins: [1, 2],
|
||||
flipped: async (p, hook) => expectPasses(p, hook),
|
||||
flipped: expectPasses,
|
||||
},
|
||||
{
|
||||
name: 'pins 3 and 4 go red under the untrimmed word comparison',
|
||||
find: 'o.word.trim() !== ARGS_DELIM',
|
||||
replace: 'o.word !== ARGS_DELIM',
|
||||
pins: [3, 4],
|
||||
flipped: async (p, hook) => expectPasses(p, hook),
|
||||
flipped: expectPasses,
|
||||
},
|
||||
{
|
||||
name: 'pin 5 goes red under the untrimmed closing-line count',
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue