Skip to content

Commit

Permalink
fixup! Run cairo-lang-macro-attributes tests with cargo instead of ne…
Browse files Browse the repository at this point in the history
…xtest
  • Loading branch information
maciektr committed Jan 17, 2025
1 parent 213670d commit a68b843
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion plugins/cairo-lang-macro/tests/args/args_01.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
use cairo_lang_macro::{attribute_macro, ProcMacroResult, TokenStream};

#[attribute_macro(path = "some::path")]
#[attribute_macro(unsupported_key = "some::path")]
fn t1(_a: TokenStream, _b: TokenStream) -> ProcMacroResult {
ProcMacroResult::new(TokenStream::empty())
}
Expand Down
6 changes: 3 additions & 3 deletions plugins/cairo-lang-macro/tests/args/args_01.stderr
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
error: only `parent` argument is supported
--> tests/args/args_01.rs:3:24
--> tests/args/args_01.rs:3:35
|
3 | #[attribute_macro(path = "some::path")]
| ^
3 | #[attribute_macro(unsupported_key = "some::path")]
| ^

warning: unused imports: `ProcMacroResult` and `TokenStream`
--> tests/args/args_01.rs:1:41
Expand Down

0 comments on commit a68b843

Please sign in to comment.