test('transform', () => {
const code = [
...
' write (i < 10) do',
...
].join('\n')
expect(transform(code)).toBe([
...
' while (i < 10) { ',
...
].join('\n'))
})
both line are identical for me
test('transform', () => {
const code = [
...
' write (i < 10) do',
...
].join('\n')
expect(transform(code)).toBe([
...
' while (i < 10) { ',
...
].join('\n'))
})
both line are identical for me
Mean a small diff, solution
test('transform', () => {
const code = [
...
' write (i < 10) do',
...
].join('\n')
expect(transform(code)).toBe([
...
' while (i < 10) { ',
...
''
].join('\n'))
})
references What does "@@ -1 +1 @@" mean in Git's diff output?