Skip to content

Commit

Permalink
Merge pull request #2 from paultcochrane/pr/add-unit-declarator
Browse files Browse the repository at this point in the history
Add unit declarator to module, class and grammar declarations
  • Loading branch information
retupmoca committed May 26, 2015
2 parents df0f0cf + ae5535e commit fa19b29
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion lib/TestML.pm
@@ -1,5 +1,5 @@
use v6;

module TestML;
unit module TestML;

our $*VERSION = '0.01';
2 changes: 1 addition & 1 deletion lib/TestML/Parser/Grammar.pm
@@ -1,6 +1,6 @@
use v6;

grammar TestML::Parser::Grammar;
unit grammar TestML::Parser::Grammar;

our $block_marker = '===';
our $point_marker = '---';
Expand Down
2 changes: 1 addition & 1 deletion lib/TestML/Runner/TAP.pm
Expand Up @@ -3,7 +3,7 @@ use v6;
use Test;
use TestML::Runner;

class TestML::Runner::TAP is TestML::Runner;
unit class TestML::Runner::TAP is TestML::Runner;

method title () {
if $.doc.meta.data<Title> -> $title {
Expand Down
2 changes: 1 addition & 1 deletion lib/TestML/Standard.pm
@@ -1,5 +1,5 @@
use v6;
module TestML::Standard;
unit module TestML::Standard;

our sub Point($context, $name) {
$context.point = $name;
Expand Down
2 changes: 1 addition & 1 deletion t/Bridge.pm
@@ -1,6 +1,6 @@
use v6;

module t::Bridge;
unit module t::Bridge;

our sub my_lower($context) {
return $context.value.lc;
Expand Down

0 comments on commit fa19b29

Please sign in to comment.