summaryrefslogtreecommitdiff
path: root/spec/ruby
diff options
context:
space:
mode:
authorcui fliter <[email protected]>2024-03-05 17:50:47 +0800
committerGitHub <[email protected]>2024-03-05 18:50:47 +0900
commit226a889dc7688cbd0c96cce1005adbda69b03ec4 (patch)
tree05c10b3582b7533059f967ef55dba9b6d283377b /spec/ruby
parent8e27c01fbb36d5020bb465e17a19a3bad35144ef (diff)
[DOC] fix some comments
Signed-off-by: cui fliter <[email protected]>
Diffstat (limited to 'spec/ruby')
-rw-r--r--spec/ruby/language/send_spec.rb2
-rw-r--r--spec/ruby/library/socket/udpsocket/send_spec.rb2
2 files changed, 2 insertions, 2 deletions
diff --git a/spec/ruby/language/send_spec.rb b/spec/ruby/language/send_spec.rb
index a1656559fe..aaccdf0998 100644
--- a/spec/ruby/language/send_spec.rb
+++ b/spec/ruby/language/send_spec.rb
@@ -43,7 +43,7 @@ describe "Invoking a method" do
end
describe "with optional arguments" do
- it "uses the optional argument if none is is passed" do
+ it "uses the optional argument if none is passed" do
specs.fooM0O1.should == [1]
end
diff --git a/spec/ruby/library/socket/udpsocket/send_spec.rb b/spec/ruby/library/socket/udpsocket/send_spec.rb
index 5d5de684af..6dd5f67bea 100644
--- a/spec/ruby/library/socket/udpsocket/send_spec.rb
+++ b/spec/ruby/library/socket/udpsocket/send_spec.rb
@@ -63,7 +63,7 @@ describe "UDPSocket#send" do
@msg[1][3].should == "127.0.0.1"
end
- it "raises EMSGSIZE if data is too too big" do
+ it "raises EMSGSIZE if data is too big" do
@socket = UDPSocket.open
begin
-> do