just/tests/lib.rs
Casey Rodarmor 1b0fafea75
Add loader and refactor errors (#917)
This commit adds a `Loader` type, which can be used to load multiple
source strings. This was done to support the work on modules, but
coincidentally enabled consolidating errors, since now `Config::run`
can take a `&Loader`, and in the event of an error, return and `Error`
that borrows from loaded strings. Multiple error types have been
consolidated, and a bunch of ad-hoc error printing was removed.
2021-07-26 01:26:06 -07:00

36 lines
498 B
Rust

#[macro_use]
mod test;
mod assert_stdout;
mod assert_success;
mod choose;
mod command;
mod common;
mod completions;
mod conditional;
mod delimiters;
mod dotenv;
mod edit;
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 readme;
mod search;
mod shebang;
mod shell;
mod show;
mod string;
mod sublime_syntax;
mod subsequents;
mod tempdir;
mod working_directory;