Skip to content

Commit

Permalink
String keys are forbidden.
Browse files Browse the repository at this point in the history
  • Loading branch information
ioquatix committed Aug 24, 2023
1 parent edb7e74 commit 23734e2
Showing 1 changed file with 0 additions and 12 deletions.
12 changes: 0 additions & 12 deletions test/stdlib/Fiber_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -15,18 +15,6 @@ def test_aref
"(Symbol) -> Integer",
Fiber, :[], :key
)

key = "string"

assert_send_type(
"(String, Integer) -> Integer",
Fiber, :[]=, key, 123
)

assert_send_type(
"(String) -> Integer",
Fiber, :[], key
)
end

def test_blocking?
Expand Down

0 comments on commit 23734e2

Please sign in to comment.