Permalink
Browse files

update grammar

  • Loading branch information...
szabgab committed Nov 22, 2009
1 parent 9c3510d commit aa6ff695e4d132a4b14148a050edf3399a4bffc4
Showing with 6 additions and 2 deletions.
  1. +6 −2 t/grammar.t
View
@@ -34,9 +34,13 @@ my $str_4 = "#nospace comment \n";
Perl6::Conf::Grammar.parse($str_4);
is($/, $str_4, 'nospace comment');
+my $str_5 = " ";
+Perl6::Conf::Grammar.parse($str_5);
+is($/, $str_5, 'empty line');
+
#my $str_5 = " \n";
#Perl6::Conf::Grammar.parse($str_5);
-#is($/, $str_5, 'empty line');
+#is($/, $str_5, 'empty line with newline');
my $str_6 = "# one comment\n\n# comment 2";
Perl6::Conf::Grammar.parse($str_6);
@@ -105,4 +109,4 @@ Perl6::Conf::Grammar.parse($str_9);
# say $/;
#
#
-#
+#

0 comments on commit aa6ff69

Please sign in to comment.