-
-
Notifications
You must be signed in to change notification settings - Fork 101
Tests refactor #257
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
Merged
Tests refactor #257
Changes from all commits
Commits
Show all changes
51 commits
Select commit
Hold shift + click to select a range
62f6231
Start building out jest test cases
kddnewton e914c02
Split up test utils
kddnewton 1d5ec2e
Move setup into test directory
kddnewton 9306f70
Fix up tests
kddnewton 60ba16f
Make checks async
kddnewton 88c4826
Move old tests into new format
kddnewton dc9c1ee
Move binary test over
kddnewton c72e60e
Move numbers test over
kddnewton f27c902
Move range tests over
kddnewton e4755f9
Move next tests over
kddnewton b257fde
Move over super tests
kddnewton 4af28fb
Move return tests over
kddnewton d9e293b
Move over hooks tests
kddnewton 86ddb31
Move over regexp tests
kddnewton 7d1ed94
Move over rescue tests
kddnewton c0b395e
Move lambda tests over
kddnewton f109ca5
Move over encoding tests
kddnewton f723f7b
Move over embdoc tests
kddnewton 4d1d212
Move over case tests
kddnewton 3a0a072
Move hash tests over
kddnewton c76c06e
Move over kwargs test
kddnewton 0b9ed44
Move over layout tests
kddnewton e3ff01e
Move over string tests
kddnewton 2cb505e
Fix up test formatting
kddnewton 05ca16d
Move method tests over
kddnewton 7bbdee9
Move over conditionals tests
kddnewton 8160206
Move over assign tests
kddnewton f4103c4
Move error tests over
kddnewton de6dfbc
Add methref test
kddnewton 132010d
Move escapePattern tests over
kddnewton 3ba93f0
Move hasPragma tests over
kddnewton 9060539
Move over class tests
kddnewton beb8748
Move nodes tests over
kddnewton 89e365f
Remove old test runner
kddnewton cd9733c
Move over block tests
kddnewton 5896ab8
Move over comment tests
kddnewton 5419511
Remove defunct test configs
kddnewton 62d2f9a
Move ruby tests under test/rb
kddnewton 851d52d
Move over files to match interpreter tests
kddnewton 7de2e9a
Rename some test files
kddnewton 6f6a9df
Test out invalid ruby parsing
kddnewton 3686bae
Bump deps
kddnewton 5bc389e
Fix up lint
kddnewton 03090ee
Fix up loop spacing
kddnewton 0f3a989
Fix up ruby tests
kddnewton 6a3e1f4
Try explicitly setting the ruby version for travis
kddnewton dd791a5
Fix up command call inline comments
kddnewton 5082ea9
Fix up comment pulling
kddnewton 5dd436c
Run prettier
kddnewton d309ca5
Make when predicates fill the line and then break
kddnewton 6655d37
Reformat the parser
kddnewton File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,3 +1,4 @@ | ||
| /.eslintcache | ||
| /coverage/ | ||
| /node_modules/ | ||
| /yarn-error.log | ||
|
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,18 +1,18 @@ | ||
| language: ruby | ||
| rvm: | ||
| - ruby-head | ||
| - 2.6.1 | ||
| - 2.5.3 | ||
| - 2.6.2 | ||
| - 2.5.5 | ||
| branches: | ||
| only: master | ||
| before_install: bin/ci-install | ||
| script: | ||
| - yarn test | ||
| - RUBY_VERSION=$(ruby -e 'puts RUBY_VERSION') yarn test | ||
| - yarn lint | ||
| - yarn build | ||
| - gem build prettier.gemspec | ||
| - bundle exec rake test | ||
| - bundle exec rbprettier --check 'src/ripper.rb' 'lib/**/*.rb' 'test/*_test.rb' 'prettier.gemspec' | ||
| - bundle exec rbprettier --check 'src/ripper.rb' 'lib/**/*.rb' 'test/rb/*_test.rb' 'prettier.gemspec' | ||
| cache: | ||
| - bundler | ||
| - yarn |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
👍