fix: use existing path in system-prompt test (#99 fix regression)

The --cwd validation added in #99 rejects non-existent paths, but the
test used /tmp/project which doesn't exist on CI Linux runners. Changed
to /tmp which exists everywhere.

Also marks ROADMAP #123 DONE (--allowedTools normalization verified).

Generated with https://github.com/Yeachan-Heo/gajae-code
Co-authored-by: Gajae Code <dev@gajae-code.com>
This commit is contained in:
bellman
2026-06-05 06:13:25 +09:00
parent 5df485cba9
commit b94c49c323
2 changed files with 3 additions and 3 deletions

View File

@@ -14847,7 +14847,7 @@ mod tests {
let args = vec![
"system-prompt".to_string(),
"--cwd".to_string(),
"/tmp/project".to_string(),
"/tmp".to_string(),
"--date".to_string(),
"2026-04-01".to_string(),
];
@@ -14859,7 +14859,7 @@ mod tests {
assert_eq!(
action,
CliAction::PrintSystemPrompt {
cwd: PathBuf::from("/tmp/project"),
cwd: PathBuf::from("/tmp"),
date: "2026-04-01".to_string(),
model: DEFAULT_MODEL.to_string(),
output_format: CliOutputFormat::Text,