diff options
| author | salmonik <salmonik@tuta.io> | 2026-11-18 12:34:33 +0100 |
|---|---|---|
| committer | salmonik <salmonik@tuta.io> | 2026-11-18 12:34:33 +0100 |
| commit | 45d0d3c5f431688aa9dfbd6a4214256d6fe64122 (patch) | |
| tree | 862ca7949b0e6c1c8084f2fe7431bfa56364d8fc /tests | |
| parent | 0.9.1: correctness fixes from the audit (diff) | |
| download | agent686-45d0d3c5f431688aa9dfbd6a4214256d6fe64122.tar.gz agent686-45d0d3c5f431688aa9dfbd6a4214256d6fe64122.zip | |
0.9.2: doc accuracy and UX fixes from the review
- missing key exits 1, consistent with --doctor
- HTML error bodies get a one-line message
- no unapprovable diff printed on a non-terminal
- weak GLIBC_2.39 fix covers x86_64 gnu as well as i686
- README/PLAN/CHANGELOG brought in line with the actual binary
Diffstat (limited to '')
| -rw-r--r-- | tests/cli.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/cli.rs b/tests/cli.rs index 5a4c03f..80eb96d 100644 --- a/tests/cli.rs +++ b/tests/cli.rs | |||
| @@ -34,7 +34,7 @@ fn double_dash_makes_everything_a_prompt() { | |||
| 34 | .output() | 34 | .output() |
| 35 | .unwrap(); | 35 | .unwrap(); |
| 36 | 36 | ||
| 37 | assert_eq!(output.status.code(), Some(2)); | 37 | assert_eq!(output.status.code(), Some(1)); |
| 38 | let stderr = String::from_utf8_lossy(&output.stderr); | 38 | let stderr = String::from_utf8_lossy(&output.stderr); |
| 39 | assert!(stderr.contains("no API key"), "{stderr}"); | 39 | assert!(stderr.contains("no API key"), "{stderr}"); |
| 40 | assert!(!String::from_utf8_lossy(&output.stdout).contains("agent686 0")); | 40 | assert!(!String::from_utf8_lossy(&output.stdout).contains("agent686 0")); |
