spacehub

surshar / claude-code

Claude Code is an agentic coding tool that lives in your terminal, understands your codebase, and helps you code faster by executing routine tasks, explaining complex code, and handling git workflows - all through natural language commands.

Built by Anthropic · github.com/anthropics

claude-code / mods / diff / tests / fixtures / two-files.ts
9 lines · 325 BRaw
1import { answersOf } from './answers-of.js'
2
3/**
4 * Git's output in /work where two files changed, a hunk each.
5 */
6export const TWO_FILES = answersOf('1\t1\tapp.ts\0' + '2\t0\tlib.ts\0', {
7 'app.ts': '@@ -1 +1 @@\n-const a = 1\n+const a = 2\n',
8 'lib.ts': '@@ -3,0 +4,2 @@\n+export const b = 1\n+export const c = 2\n',
9})