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 parent
41cac36959
commit
1740d61804
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 {
|
mod tests {
|
||||||
use super::*;
|
use super::*;
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user