Add item macro tests

This commit is contained in:
Kevin Yeh 2016-01-24 13:11:18 -06:00
parent f01ed6f507
commit 7fc70a1753
2 changed files with 11 additions and 0 deletions

View File

@ -1,5 +1,9 @@
itemmacro!(this, is.now() .formatted(yay));
itemmacro!(really, long.aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaabbb() .is.formatted());
itemmacro!{this, is.bracket().formatted()}
fn main() {
foo! ( );

View File

@ -1,5 +1,12 @@
itemmacro!(this, is.now().formatted(yay));
itemmacro!(really,
long.aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaabbb()
.is
.formatted());
itemmacro!{this, is.bracket().formatted()}
fn main() {
foo!();