bare-script 0.1.1

The type-safe scripting authority for Rust. A framework for building robust shell commands and automation with 'Parse, don't validate' philosophy.
Documentation
//! Platform-specific tests.

#![allow(unused_imports)]

use thiserror::Error as _;
use tokio as _;

#[test]
fn test_platform_detection() {
    #[cfg(windows)]
    {
        assert!(bare_script::shell::is_windows());
        assert!(!bare_script::shell::is_unix());
    }

    #[cfg(not(windows))]
    {
        assert!(!bare_script::shell::is_windows());
        assert!(bare_script::shell::is_unix());
    }
}