just/tests/lib.rs
Casey Rodarmor 3ef420ccb3
Add quote(s) function for escaping strings (#1022)
Replace all single quotes with `'\''` and prepend and append single
quotes to `s`. This is sufficient to escape special characters for many
shells, including most Bourne shell descendants.
2021-11-08 19:22:58 +00:00

42 lines
595 B
Rust

#[macro_use]
mod test;
mod assert_stdout;
mod assert_success;
mod byte_order_mark;
mod changelog;
mod choose;
mod command;
mod common;
mod completions;
mod conditional;
mod delimiters;
mod dotenv;
mod edit;
mod equals;
mod error_messages;
mod evaluate;
mod examples;
mod export;
mod fmt;
mod functions;
mod init;
mod interrupts;
mod invocation_directory;
mod misc;
mod positional_arguments;
mod quiet;
mod quote;
mod readme;
mod regexes;
mod search;
mod shebang;
mod shell;
mod show;
mod string;
mod sublime_syntax;
mod subsequents;
mod tempdir;
mod undefined_variables;
mod working_directory;