Skip to content

Commit

Permalink
more test case
Browse files Browse the repository at this point in the history
  • Loading branch information
tokuhirom committed Apr 18, 2012
1 parent efddff0 commit c3f5a67
Show file tree
Hide file tree
Showing 2 changed files with 33 additions and 31 deletions.
31 changes: 0 additions & 31 deletions t/semicolon.t

This file was deleted.

33 changes: 33 additions & 0 deletions t/spec/basic/semicolon.tcc
@@ -0,0 +1,33 @@
===
--- code
say(1+2)
--- stdout
3

===
--- code
say(1+2);say("OK")
--- stdout
3
OK

===
--- code
sub foo() {
say("OK")
}
foo()
--- stdout
OK

===
--- code
sub foo() {
say(1+2);
say("OK")
}
foo()
--- stdout
3
OK

0 comments on commit c3f5a67

Please sign in to comment.