mirror of
https://github.com/roc-lang/roc.git
synced 2024-11-13 09:49:11 +03:00
Correctly ignore ignored mono tests
This commit is contained in:
parent
087782f3d0
commit
5cef7136db
@ -14,9 +14,11 @@ pub fn mono_test(_args: TokenStream, item: TokenStream) -> TokenStream {
|
||||
let body = task_fn.block.clone();
|
||||
|
||||
let visibility = &task_fn.vis;
|
||||
let attributes = task_fn.attrs;
|
||||
|
||||
let result = quote! {
|
||||
#[test]
|
||||
#(#attributes)*
|
||||
#visibility fn #name(#args) -> () {
|
||||
compiles_to_ir(#name_str, #body);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user