Skip to content

Worktrunk is a CLI for Git worktree management, designed for parallel AI agent workflows

Update snapshots: remove GIT_EDITOR and fix URL formatting

Maximilian Roosb2e1bda994ad
diff --git a/tests/integration_tests/list_config.rs b/tests/integration_tests/list_config.rs
index 09ec78c8d..795cf8c77 100644
--- a/tests/integration_tests/list_config.rs
+++ b/tests/integration_tests/list_config.rs
@@ -230,9 +230,11 @@ url = "http://localhost:{{ branch | hash_port }}"
let port: u16 = url.split(':').next_back().unwrap().parse().unwrap();
assert!((10000..=19999).contains(&port));
- // url_active should be present (false since no server listening)
+ // url_active should be present and be a boolean
+ // Note: We can't assert the specific value since it depends on whether
+ // something happens to be listening on the hashed port
assert!(first.get("url_active").is_some());
- assert_eq!(first["url_active"].as_bool(), Some(false));
+ assert!(first["url_active"].as_bool().is_some());
}
/// Test `wt list --format=json` has null URL fields when no template configured