Implement derive macros expansion tests using macrotest

This commit is contained in:
Evgenii P
2019-11-01 02:32:06 +08:00
parent 2ceabad360
commit dc6dbba47c
13 changed files with 112 additions and 0 deletions
+7
View File
@@ -0,0 +1,7 @@
#[cfg(not(target_os = "emscripten"))]
#[rustversion::attr(not(nightly), ignore)]
#[test]
fn expandtest() {
macrotest::expand("tests/expand/**/enum/*.rs");
macrotest::expand("tests/expand/**/struct/*.rs");
}