Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 0 additions & 4 deletions .github/workflows/ruby.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,6 @@ jobs:
bundler: none
- name: Set working directory as safe
run: git config --global --add safe.directory $(pwd)
- name: Set up permission
run: chmod -R o-w /opt/hostedtoolcache/Ruby
- name: Install dependencies
run: |
sudo apt-get update
Expand Down Expand Up @@ -90,8 +88,6 @@ jobs:
bundler-cache: none
- name: Set working directory as safe
run: git config --global --add safe.directory $(pwd)
- name: Set up permission
run: chmod -R o-w /opt/hostedtoolcache/Ruby
- name: Install dependencies
run: |
sudo apt-get update
Expand Down
2 changes: 0 additions & 2 deletions .github/workflows/typecheck.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,6 @@ jobs:
bundler: none
- name: Set working directory as safe
run: git config --global --add safe.directory $(pwd)
- name: Set up permission
run: chmod -R o-w /opt/hostedtoolcache/Ruby
- name: Install dependencies
run: |
sudo apt-get update
Expand Down
4 changes: 4 additions & 0 deletions test/stdlib/Ractor_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -132,6 +132,8 @@ class RactorInstanceTest < Test::Unit::TestCase
testing "::Ractor"

def test_aref
omit "Accessing ractor local storage" if RUBY_VERSION >= "3.5"

r = Ractor.new {}
r['foo'] = 'bar'
assert_send_type "(String) -> untyped",
Expand All @@ -141,6 +143,8 @@ def test_aref
end

def test_aset
omit "Accessing ractor local storage" if RUBY_VERSION >= "3.5"

r = Ractor.new {}
assert_send_type "(String, String) -> String",
r, :[]=, 'foo', 'bar'
Expand Down