Vendor things
This commit is contained in:
parent
5deceec006
commit
977e3c17e5
19434 changed files with 10682014 additions and 0 deletions
9
third-party/vendor/assert_matches/tests/selective_import1.rs
vendored
Normal file
9
third-party/vendor/assert_matches/tests/selective_import1.rs
vendored
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
#[macro_use(assert_matches)]
|
||||
extern crate assert_matches;
|
||||
|
||||
#[test]
|
||||
fn test_assert_succeed() {
|
||||
let a = 42u32;
|
||||
|
||||
assert_matches!(a, 42);
|
||||
}
|
||||
9
third-party/vendor/assert_matches/tests/selective_import2.rs
vendored
Normal file
9
third-party/vendor/assert_matches/tests/selective_import2.rs
vendored
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
#[macro_use(debug_assert_matches)]
|
||||
extern crate assert_matches;
|
||||
|
||||
#[test]
|
||||
fn test_assert_succeed() {
|
||||
let a = 42u32;
|
||||
|
||||
debug_assert_matches!(a, 42);
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue