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 / moved-in.ts
14 lines · 381 BRaw
1import { answersOf } from './answers-of.js'
2
3/**
4 * Git's output in /work where two old files differ from HEAD: one dirty
5 * before the session began, one moved into place since (not dirty then).
6 */
7export const MOVED_IN = answersOf(
8 '1\t1\told.ts\0' + '1\t1\tmoved.ts\0',
9 {
10 'old.ts': '@@ -1 +1 @@\n-a\n+b\n',
11 'moved.ts': '@@ -1 +1 @@\n-c\n+d\n',
12 },
13 ['old.ts'],
14)