Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add test for nested comments. #84

Merged
merged 1 commit into from
May 18, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 13 additions & 0 deletions tests/comment1.expected
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
MM> READ "comment1.mm"
Reading source file "comment1.mm"... 9 bytes

?Error on line 1 of file "comment1.mm":
$( $( $)
^^
Nested comments are not allowed.

9 bytes were read into the source buffer.
The source has 0 statements; 0 are $a and 0 are $p.

One error was found.
MM> Continuous scrolling is now in effect.
Empty file added tests/comment1.in
Empty file.
1 change: 1 addition & 0 deletions tests/comment1.mm
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
$( $( $)