mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-28 14:24:45 +00:00
Correctly ignore ignored mono tests
This commit is contained in:
parent
087782f3d0
commit
5cef7136db
1 changed files with 2 additions and 0 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue