From 798ca29a539930437137a57ff201daf8bb0ee7d6 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Thu, 8 Oct 2026 08:39:49 +0000 Subject: [PATCH 1/2] Update Rust to v1.99.0 --- rust-toolchain.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rust-toolchain.toml b/rust-toolchain.toml index 99e619b..8f62474 100644 --- a/rust-toolchain.toml +++ b/rust-toolchain.toml @@ -1,3 +1,3 @@ [toolchain] -channel = "1.98.1" +channel = "1.99.0" profile = "default" From afafbb95e8f84bd99a7db5debcfcff095a277ba9 Mon Sep 17 00:00:00 2001 From: Shunichiro Nomura Date: Fri, 9 Oct 2026 11:48:59 +0900 Subject: [PATCH 2/2] Fix launcher assertions for Rust 1.99 Clippy --- crates/procnote-launcher/tests/cli.rs | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/crates/procnote-launcher/tests/cli.rs b/crates/procnote-launcher/tests/cli.rs index 825a3ce..a254130 100644 --- a/crates/procnote-launcher/tests/cli.rs +++ b/crates/procnote-launcher/tests/cli.rs @@ -16,7 +16,7 @@ fn version_is_printed_without_starting_the_gui() { String::from_utf8(output.stdout).expect("version output is UTF-8"), format!("procnote {}\n", env!("CARGO_PKG_VERSION")) ); - assert!(output.stderr.is_empty()); + assert_eq!(output.stderr, b""); } #[test] @@ -30,7 +30,7 @@ fn help_is_printed_without_starting_the_gui() { assert!(output.status.success()); assert!(stdout.contains("Usage: procnote [WORKSPACE]")); assert!(stdout.contains("--version")); - assert!(output.stderr.is_empty()); + assert_eq!(output.stderr, b""); } #[test] @@ -43,7 +43,7 @@ fn invalid_options_fail_in_the_foreground() { assert_eq!(output.status.code(), Some(2)); assert!(stderr.contains("unexpected argument '--not-a-procnote-option'")); - assert!(output.stdout.is_empty()); + assert_eq!(output.stdout, b""); } #[cfg(unix)] @@ -92,8 +92,8 @@ fn packaged_launcher_detaches_gui_and_preserves_process_context() { .expect("run packaged launcher"); assert!(launcher_output.status.success()); - assert!(launcher_output.stdout.is_empty()); - assert!(launcher_output.stderr.is_empty()); + assert_eq!(launcher_output.stdout, b""); + assert_eq!(launcher_output.stderr, b""); assert!( (0..100).any(|_| { if gui_output.is_file() {