diff options
| author | JJ Liebig <jonathan.liebig@gmail.com> | 2026-09-05 20:39:32 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-09-05 21:39:32 +0300 |
| commit | 50ce4ec2ddb8ec621a77d8773aa6df6d9e7441ff (patch) | |
| tree | b61a6e636e31394334ba2ba8e04a34c6e46d4d1b /src/terminal | |
| parent | 6c52aad511b0fb601e6223bd6ad944f48cbdba6d (diff) | |
fix: run the full applicable test suite on windows (#3660)
* fix: run the full applicable test suite on windows
* test: remove redundant test shell assignment
* test: make endpoint and metadata fixtures deterministic
* test: tolerate exited servers during windows probe cleanup
Diffstat (limited to 'src/terminal')
| -rw-r--r-- | src/terminal/metadata.rs | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/src/terminal/metadata.rs b/src/terminal/metadata.rs index 2a912b27..91b1d582 100644 --- a/src/terminal/metadata.rs +++ b/src/terminal/metadata.rs @@ -881,11 +881,12 @@ mod tests { }); assert_eq!(terminal.next_agent_metadata_expiry(), Some(old_deadline)); - assert_eq!( - terminal.effective_presentation().title.as_deref(), - Some("Prompt title") + let presentation = terminal.effective_presentation_for_state_at( + terminal.state, + old_deadline - Duration::from_millis(1), ); - assert_eq!(terminal.effective_presentation().display_agent, None); + assert_eq!(presentation.title.as_deref(), Some("Prompt title")); + assert_eq!(presentation.display_agent, None); let mutation = terminal .expire_agent_metadata_at(old_deadline, old_deadline) |
