Skip to content

Commit 4e53e51

Browse files
committed
test: add --cached
1 parent 2337163 commit 4e53e51

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cli-impl/src/test/java/org/aya/test/TestRunner.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ public class TestRunner {
5454
}
5555
for (var file : toCheck) {
5656
var name = file.toString();
57-
var proc = new ProcessBuilder("git", "diff", name).start();
57+
var proc = new ProcessBuilder("git", "diff", "--cached", name).start();
5858
var output = new String(proc.getInputStream().readAllBytes());
5959
assertTrue(output.isBlank(), output);
6060
}

0 commit comments

Comments
 (0)