diff options
Diffstat (limited to 'spec')
| -rw-r--r-- | spec/internal/parsing_spec.moon | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/spec/internal/parsing_spec.moon b/spec/internal/parsing_spec.moon index da70824..47de338 100644 --- a/spec/internal/parsing_spec.moon +++ b/spec/internal/parsing_spec.moon @@ -149,6 +149,10 @@ describe 'comments', -> str = '#(this is a comment)' assert.is.equal str, comment\match str + it 'line comments are parsed', -> + str = '## this is a comment )))!' + assert.is.equal str, comment\match str + it 'extend to matching braces', -> str = '#(this is a comment #(with nested comments))' assert.is.equal str, comment\match str |
