Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Added tests for the Ruby kernel #107

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

Closed
mishushakov wants to merge 1 commit into main from added-tests-ruby-kernel
Closed

Conversation

@mishushakov
Copy link
Member

@mishushakov mishushakov commented May 14, 2025

@mishushakov mishushakov added the improvement Improvement for current functionality label May 14, 2025
@mishushakov mishushakov changed the title (削除) Added tests for the Ruby kernel (#106) (削除ここまで) (追記) Added tests for the Ruby kernel (追記ここまで) May 14, 2025
Copy link
Contributor

@0div 0div left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

i'd make sure a few Ruby 3.0+ syntax changes work via additional tests such as:

  • Rightward assignment: 42 => x # Assigns 42 to x
  • Pattern matching: {a: 1, b: 2} => {a:} # Extracts a (= 1)
  • Find pattern:
case [1, 2, 3, 4, 5]
in [*pre, 3, *post]
 [pre, post] # => [[1, 2], [4, 5]]
end

Copy link
Member

@jakubno jakubno left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Move this to #106

@jakubno jakubno deleted the added-tests-ruby-kernel branch July 15, 2025 09:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@jakubno jakubno jakubno requested changes

@ValentaTomas ValentaTomas Awaiting requested review from ValentaTomas ValentaTomas is a code owner

+1 more reviewer

@0div 0div 0div approved these changes

Reviewers whose approvals may not affect merge requirements

Labels

improvement Improvement for current functionality

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

AltStyle によって変換されたページ (->オリジナル) /