Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
Co-authored-by: peaklabs-dev <122374094+peaklabs-dev@users.noreply.github.com>
Co-authored-by: Aditya Tripathi <aditya@climactic.co>
This commit is contained in:
Andras Bacsai
2026-11-06 14:25:02 +01:00
committed by GitHub
co-authored by Claude Opus 5.5 peaklabs-dev Aditya Tripathi
parent b7dc2e435b
commit 033f0c84da
581 changed files with 58626 additions and 2456 deletions
+2 -2
View File
@@ -131,10 +131,10 @@ describe('buildGitCheckoutCommand escaping', function () {
$method = new ReflectionMethod($app, 'buildGitCheckoutCommand');
$result = $method->invoke($app, 'abc123');
$result = $method->invoke($app, 'abc123', gitSshCommand('test-uuid'));
expect($result)->toContain("git checkout 'abc123'");
$result = $method->invoke($app, "abc'; id; #");
$result = $method->invoke($app, "abc'; id; #", gitSshCommand('test-uuid'));
expect(gitRefShellWords($result))->toBe(['git', 'checkout', "abc'; id; #"]);
});
});