ircbot 0.2.0

An async IRC bot framework for Rust powered by Tokio and procedural macros
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
//! Compile-fail UI tests for the `#[bot]` / `#[on(...)]` macros, driven by
//! trybuild.  Each case in `tests/macro_ui/` must fail to compile with the
//! diagnostic captured in its companion `.stderr` file.
//!
//! Regenerate the expected output after intentional changes with:
//!   TRYBUILD=overwrite cargo test --test macro_ui
//!
//! Run with:
//!   cargo test --test macro_ui

#[test]
fn ui() {
    let t = trybuild::TestCases::new();
    t.compile_fail("tests/macro_ui/*.rs");
}