-
Notifications
You must be signed in to change notification settings - Fork 160
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
Allow input and output to be mixed in Test #3168
Conversation
38f1b07
to
85eb95f
Compare
Codecov Report
@@ Coverage Diff @@
## master #3168 +/- ##
==========================================
+ Coverage 83.68% 83.68% +<.01%
==========================================
Files 688 688
Lines 336637 336633 -4
==========================================
- Hits 281724 281721 -3
+ Misses 54913 54912 -1
|
tst/testinstall/interpreter.tst
Outdated
@@ -248,6 +248,25 @@ gap> Unbind(l![fail]); | |||
Error, PosObj Assignment: <position> must be a positive small integer (not the\ | |||
value 'fail') | |||
|
|||
# | |||
# Statements where input + output are mixed | |||
# Checks test can handle output directly cute+pasted from GAP's output |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
# Checks test can handle output directly cute+pasted from GAP's output | |
# Checks test can handle output directly cut+pasted from GAP's output |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Also, why is this in interpreter.c? It's a test for Test
, not the interpreter, isn't it? Note that interpreter.tst is meant to be in sync with coder.tst -- we already violate this right now (my fault) but I was recently working on fixing this again, and would prefer not to drift more.
That said, I'll survive if we add it here, I'll just move it elsewhere when I get to finish that sync I just mentioned.
This was previously forbidden as it can lead to confusing errors, but it also broke some valid Tests, as GAP can begin outputting before a complete statement has been inputted.
85eb95f
to
32f0a71
Compare
This was previously forbidden as it can lead to confusing errors,
but it also broke some valid Tests, as GAP can begin outputting
before a complete statement has been inputted.
In particular, this previous change broke the "Browse" package.