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:
1 file changed
+2
-1
@@ -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::*;
|
||||
|
||||
|
||||
Reference in new issue
Block a user