mirror of
https://github.com/jparkerweb/plan2code.git
synced 2026-11-16 20:45:33 -08:00
Add the Changes tab at sign-off: snapshot at start, diff at the end, drawn in the console
AI Assisted
This commit is contained in:
1 parent
72ae44745f
commit
f61ef6e0a7
25 files changed
+1324
-21
No files matched your search
@@ -148,6 +148,7 @@ test("changes: a sensitive file shows its name and counts but no lines", () => {
|
||||
assert.match(diff, /^diff --git a\/\.env b\/\.env$/m);
|
||||
assert.match(diff, /^Lines hidden: this file may hold a secret\.$/m);
|
||||
assert.match(diff, /^# hidden: \.env$/m);
|
||||
assert.match(diff, /^# counts: 2\t0\t\.env$/m, "a hidden file's counts travel in the trailer");
|
||||
assert.match(diff, /^\+fine$/m, "other files keep their lines");
|
||||
});
|
||||
|
||||
|
||||
Reference in new issue
Block a user