-
Notifications
You must be signed in to change notification settings - Fork 11
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
Enables | close to variable token #195
base: master
Are you sure you want to change the base?
Conversation
Signed-off-by: Tiago Natel de Moura <[email protected]>
Signed-off-by: Tiago Natel de Moura <[email protected]>
Codecov Report
@@ Coverage Diff @@
## master #195 +/- ##
==========================================
+ Coverage 55.9% 55.91% +0.01%
==========================================
Files 22 22
Lines 3998 3999 +1
==========================================
+ Hits 2235 2236 +1
Misses 1519 1519
Partials 244 244
Continue to review full report at Codecov.
|
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.
👍
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.
I would love to start to see at least one full integration test for this kind of thing. The internal tests that are developed are quite hard to understand (at least to someone as limited as me ).
Besides that, LGTM
@katcipis by full integrated test you mean adding tests in the interpreter (internal/sh) also? |
@tiago4orion actually I was even thinking on testing through the public sh API (the same one we used on klb tests). Less likely to break and gives a code example of what is being done/fixed :-) |
@tiago4orion is this PR still relevant? Can we merge? |
missing some tests... |
tests are too cryptic.. I'll improve that soon |
Signed-off-by: Tiago Natel de Moura <[email protected]>
// $HOME+ # used in: $HOME+"/src" | ||
// $HOME] # used in: $list[$index] | ||
// $HOME) # used in: call($HOME) | ||
if !isValidVariableSuffix(next) { |
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.
@tiago4orion this will sound a little repetitive with what @vitorarins said, but can we merge this ? =P If it is important we can add better tests later =) (at least it does not break anything and the problem seems serious) |
Closes #188