Skip to content

armgit / Wake

Public Imported from GitHub
0

All your AI agent sessions in one place — browse, search, resume. Rust + GPUI.

Rust

test: make Grok path assertion portable

Corey Chiu966da066615f
diff --git a/crates/wake-core/src/adapters/grok_group.rs b/crates/wake-core/src/adapters/grok_group.rs
index bf99b0a..415bfe3 100644
--- a/crates/wake-core/src/adapters/grok_group.rs
+++ b/crates/wake-core/src/adapters/grok_group.rs
@@ -398,7 +398,11 @@ mod tests {
&ctx,
);
assert_eq!(first, second);
- assert_eq!(first.0, "/var/folders/xx/T/grok-501/wt-abcd1234");
+ let expected = PathBuf::from("/var/folders/xx/T/grok-501")
+ .join("wt-abcd1234")
+ .to_string_lossy()
+ .into_owned();
+ assert_eq!(first.0, expected);
}
#[test]