just/tests/lib.rs
Casey Rodarmor 19f7ad09a7
Add conditional expressions (#714)
Add conditional expressions of the form:

   foo := if lhs == rhs { then } else { otherwise }

`lhs`, `rhs`, `then`, and `otherwise` are all arbitrary expressions, and
can recursively include other conditionals. Conditionals short-circuit,
so the branch not taken isn't evaluated.

It is also possible to test for inequality with `==`.
2020-10-26 18:16:42 -07:00

21 lines
259 B
Rust

#[macro_use]
mod test;
mod common;
mod choose;
mod completions;
mod conditional;
mod dotenv;
mod edit;
mod error_messages;
mod examples;
mod init;
mod interrupts;
mod invocation_directory;
mod misc;
mod readme;
mod search;
mod shell;
mod working_directory;