windjammer 0.48.0

A simple language inspired by Go, Ruby, and Elixir that transpiles to Rust - 80% of Rust's power with 20% of the complexity
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
//! Shared naming rules for auto-discovered test modules (`#[cfg(test)]`).

/// True when a module name represents a test module that should be gated with `#[cfg(test)]`
/// and auto-included even when mod.wj lists explicit `pub mod` declarations.
pub fn is_test_module(name: &str) -> bool {
    name == "tests"
        || name == "test_runtime"
        || name == "test_output"
        || name == "test_plugins"
        || name == "tests_build"
        || name.ends_with("_test")
        || name.ends_with("_tests")
        || name.starts_with("test_")
}