tsc-platform: run the notification test on Linux only

On Windows it would show a real toast from the CI runner.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01NJvYyRmTjKcb9i8eyYXK5G
This commit is contained in:
Claude committed 2026-09-26 05:07:28 +00:00
1 parent edb9c0a958
commit 2d92a4470a
1 file changed
+2 -1
+2 -1
View File
@@ -60,7 +60,8 @@ pub async fn notify(n: &Notification) -> Result<()> {
}
}
#[cfg(test)]
// On Windows a toast would really show, so Linux only.
#[cfg(all(test, unix, not(target_os = "macos")))]
mod tests {
use super::*;