Skip to content

Commit

Permalink
Add item macro tests
Browse files Browse the repository at this point in the history
  • Loading branch information
kyeah committed Jan 24, 2016
1 parent f01ed6f commit 7fc70a1
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 0 deletions.
4 changes: 4 additions & 0 deletions tests/source/macros.rs
@@ -1,5 +1,9 @@
itemmacro!(this, is.now() .formatted(yay));

itemmacro!(really, long.aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaabbb() .is.formatted());

itemmacro!{this, is.bracket().formatted()}

fn main() {
foo! ( );

Expand Down
7 changes: 7 additions & 0 deletions tests/target/macros.rs
@@ -1,5 +1,12 @@
itemmacro!(this, is.now().formatted(yay));

itemmacro!(really,
long.aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaabbb()
.is
.formatted());

itemmacro!{this, is.bracket().formatted()}

fn main() {
foo!();

Expand Down

0 comments on commit 7fc70a1

Please sign in to comment.