Skip to content

Commit bf90250

Browse files
jbamptonandrykonchin
authored andcommitted
core: fix spelling in Ruby files
1 parent 5e579e2 commit bf90250

4 files changed

Lines changed: 5 additions & 5 deletions

File tree

core/array/pack/a_spec.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
["abc"].pack("A*").should == "abc"
2828
end
2929

30-
it "padds the output with spaces when the count exceeds the size of the String" do
30+
it "pads the output with spaces when the count exceeds the size of the String" do
3131
["abc"].pack("A6").should == "abc "
3232
end
3333

@@ -55,7 +55,7 @@
5555
["abc"].pack("a*").should == "abc"
5656
end
5757

58-
it "padds the output with NULL bytes when the count exceeds the size of the String" do
58+
it "pads the output with NULL bytes when the count exceeds the size of the String" do
5959
["abc"].pack("a6").should == "abc\x00\x00\x00"
6060
end
6161

core/array/pack/z_spec.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
["abc"].pack("Z*").should == "abc\x00"
2727
end
2828

29-
it "padds the output with NULL bytes when the count exceeds the size of the String" do
29+
it "pads the output with NULL bytes when the count exceeds the size of the String" do
3030
["abc"].pack("Z6").should == "abc\x00\x00\x00"
3131
end
3232

core/kernel/open_spec.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@
106106
ScratchPad.clear
107107
end
108108

109-
it "calls #to_path to covert the argument to a String before calling #to_str" do
109+
it "calls #to_path to convert the argument to a String before calling #to_str" do
110110
obj = mock("open to_path")
111111
obj.should_receive(:to_path).at_least(1).times.and_return(@name)
112112
obj.should_not_receive(:to_str)

core/string/unpack_spec.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
"a".unpack("C", offset: 1).should == [nil]
2727
end
2828

29-
it "raises an ArgumentError when the offset is larget than the string" do
29+
it "raises an ArgumentError when the offset is larger than the string" do
3030
-> { "a".unpack("C", offset: 2) }.should raise_error(ArgumentError, "offset outside of string")
3131
end
3232
end

0 commit comments

Comments
 (0)