summaryrefslogtreecommitdiff
path: root/spec/syntax_suggest
AgeCommit message (Collapse)Author
2022-12-09Added condition for ruby/ruby repositoryHiroshi SHIBATA
Notes: Merged: https://github.com/ruby/ruby/pull/6890
2022-12-09Merge syntax_suggest masterHiroshi SHIBATA
Pick from https://github.com/ruby/syntax_suggest/commit/daee74dcb06296fa69fe8595fdff5d93d432b30d Notes: Merged: https://github.com/ruby/ruby/pull/6890
2022-12-02Skip examples for SyntaxError extensions on Ruby 3.2Hiroshi SHIBATA
2022-11-30Update SyntaxSuggest to use angle brackets `>`schneems
``` $ ruby tool/sync_default_gems.rb syntax_suggest Sync ruby/syntax_suggest ``` https://github.com/ruby/syntax_suggest/pull/161 Notes: Merged: https://github.com/ruby/ruby/pull/6831
2022-11-28[ruby/syntax_suggest] Do not output "Syntax OK" when there's an errorschneems
Due to a problem with ripper we do not recognize `break` as invalid code. It's confusing that "Syntax OK" is output in that case. When there's no syntax error, the algorithm should not say anything. The exception is in the CLI and that's for compatibility with `ruby -wc` ``` $ cat /tmp/break.rb break ⛄️ 3.1.2 🚀 /Users/rschneeman/Documents/projects/syntax_suggest (schneems/no-syntax-not-okay-break) $ ruby -wc /tmp/break.rb Syntax OK ``` > Note that this is invalid, running this code will raise a Syntax error. ``` $ exe/syntax_suggest /tmp/break.rb Syntax OK ``` Close https://github.com/ruby/syntax_suggest/pull/157 https://github.com/ruby/syntax_suggest/commit/d7bd8f03a2
2022-11-28[ruby/syntax_suggest] Failing test for #157schneems
https://github.com/ruby/syntax_suggest/commit/14e8cdc916 Notes: Merged: https://github.com/ruby/ruby/pull/6824
2022-08-26Skip examples to need installed ruby exeHiroshi SHIBATA
Notes: Merged: https://github.com/ruby/ruby/pull/6287
2022-08-26Added syntax_suggest cli and resolve failing exapmle with itHiroshi SHIBATA
Notes: Merged: https://github.com/ruby/ruby/pull/6287
2022-08-26ruby-prof is now optionalHiroshi SHIBATA
Notes: Merged: https://github.com/ruby/ruby/pull/6287
2022-08-26Import spec examples from ruby/syntax_suggestHiroshi SHIBATA
Notes: Merged: https://github.com/ruby/ruby/pull/6287