diff options
| author | s-ol <s+removethis@s-ol.nu> | 2025-04-05 18:11:06 +0000 |
|---|---|---|
| committer | s-ol <s+removethis@s-ol.nu> | 2025-04-07 10:33:17 +0000 |
| commit | 1ca6f7e9caa998b43eb236da2a7618c79c4e76e8 (patch) | |
| tree | 582e528d12c1bdb18b7769558385b5dd6e474a4a /spec/internal | |
| parent | lib: add link-time/spring (diff) | |
| download | alive-1ca6f7e9caa998b43eb236da2a7618c79c4e76e8.tar.gz alive-1ca6f7e9caa998b43eb236da2a7618c79c4e76e8.zip | |
line comments
Diffstat (limited to 'spec/internal')
| -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 |
