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

More semicolon tests #34

Open
jkeiser opened this issue Nov 13, 2017 · 0 comments
Open

More semicolon tests #34

jkeiser opened this issue Nov 13, 2017 · 0 comments

Comments

@jkeiser
Copy link
Member

jkeiser commented Nov 13, 2017

Specifically, "missing operand" related tests. "1; + 2", "1;+ 2", "1 +; 2" and "1 + ; 2". Also parentheses tests: "(1;)" and " (1 ; )" should return nothing, and "(1;2)" should return 2. Finally, interaction with newline: "1;\n2" should return 2, "1\n;2" and "1\n;\n2" as well. "1;2\n3;4" should return 4.

I haven't figured out a good way to test whether 1;2 and 3;4 are children of the \n, even though that's how it's designed at the moment. If it has no visible effect, I suppose it doesn't mean anything.

@jkeiser jkeiser added the to do label Nov 13, 2017
@jkeiser jkeiser removed the to do label Jan 30, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant