mirror of
https://github.com/garrytan/gstack.git
synced 2026-11-05 00:03:15 +01:00
test(docsync): the byte-exact insert positive is POSIX-only (the bash-command observer refuses backslash paths by design)
This commit is contained in:
1 parent
8e652b52a0
commit
987a937b12
1 file changed
+3
-1
@@ -107,7 +107,9 @@ test('parent and child receive resolved local platform and base without new prob
|
||||
expect(options.prompt).toContain('Platform: local/git-native. Base: main.');
|
||||
});
|
||||
|
||||
test('declared section insert appends one private Markdown artifact to another byte-for-byte', () => {
|
||||
// The observer polices bash commands from the POSIX-only paid ship evals and refuses backslashes
|
||||
// outright, so a Windows fixture path can never form an allowed insert; the refusals below still run.
|
||||
test.skipIf(process.platform === 'win32')('declared section insert appends one private Markdown artifact to another byte-for-byte', () => {
|
||||
const source = path.join(fixture.home, 'audit-1-documentation.md');
|
||||
const target = path.join(fixture.home, 'ship-report.md');
|
||||
const section = '**Status:** current — no edits.\n\n- Diagram drift: none.';
|
||||
|
||||
Reference in new issue
Block a user