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 / with-lockfile.ts
10 lines · 397 BRaw
1import { answersOf } from './answers-of.js'
2
3/**
4 * Git's output in /work where a source file and a lockfile changed, the
5 * lockfile a generated file the docked pane hides until asked.
6 */
7export const WITH_LOCKFILE = answersOf('1\t1\tapp.ts\0' + '1\t1\tbun.lock\0', {
8 'app.ts': '@@ -1 +1 @@\n-const a = 1\n+const a = 2\n',
9 'bun.lock': '@@ -1 +1 @@\n-"left": "1.0.0"\n+"left": "1.0.1"\n',
10})