summaryrefslogtreecommitdiff
path: root/spec/ruby
diff options
context:
space:
mode:
authorHiroshi SHIBATA <[email protected]>2023-12-25 13:48:26 +0900
committerHiroshi SHIBATA <[email protected]>2023-12-25 13:50:23 +0900
commit863ded45a18773742cf3adab0f6deb4ba6b47c6e (patch)
treed7199b790db14ef755c689747351943921ca32a6 /spec/ruby
parent2cdbeb29e6e06d3492e2d4a388558ab883b07150 (diff)
Typofix under bootstraptest, spec and yjit directories
Diffstat (limited to 'spec/ruby')
-rw-r--r--spec/ruby/core/hash/hash_spec.rb2
-rw-r--r--spec/ruby/shared/sizedqueue/enque.rb2
2 files changed, 2 insertions, 2 deletions
diff --git a/spec/ruby/core/hash/hash_spec.rb b/spec/ruby/core/hash/hash_spec.rb
index 2ccb483120..19eb806dc4 100644
--- a/spec/ruby/core/hash/hash_spec.rb
+++ b/spec/ruby/core/hash/hash_spec.rb
@@ -43,7 +43,7 @@ describe "Hash#hash" do
end
ruby_version_is "3.1" do
- it "allows ommiting values" do
+ it "allows omitting values" do
a = 1
b = 2
diff --git a/spec/ruby/shared/sizedqueue/enque.rb b/spec/ruby/shared/sizedqueue/enque.rb
index 7b6b1df730..6307f3c3ca 100644
--- a/spec/ruby/shared/sizedqueue/enque.rb
+++ b/spec/ruby/shared/sizedqueue/enque.rb
@@ -73,7 +73,7 @@ describe :sizedqueue_enq, shared: true do
t.join
end
- it "returns nil if no space is avialable and timeout is 0" do
+ it "returns nil if no space is available and timeout is 0" do
q = @object.call(1)
q.send(@method, 1, timeout: 0).should == q
q.send(@method, 2, timeout: 0).should == nil