fundle 0.3.0

Compile-time safe dependency injection for Rust.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.

use trybuild::TestCases;

#[test]
#[cfg_attr(miri, ignore)]
fn proc() {
    let t = TestCases::new();

    t.pass("tests/proc/bundle_empty.rs");
    t.compile_fail("tests/proc/bundle_enum.rs");
    t.pass("tests/proc/bundle_forward.rs");
    t.pass("tests/proc/bundle_simple.rs");
    t.compile_fail("tests/proc/bundle_tupled.rs");
    t.pass("tests/proc/deps_simple.rs");
    t.pass("tests/proc/newtype_simple.rs");
}