From 1ca6f7e9caa998b43eb236da2a7618c79c4e76e8 Mon Sep 17 00:00:00 2001 From: s-ol Date: Sat, 5 Apr 2025 20:11:06 +0200 Subject: line comments --- spec/internal/parsing_spec.moon | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'spec') 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 -- cgit v1.2.3