Skip to content

Commit

Permalink
Fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
eregon committed Oct 6, 2021
1 parent 5753fff commit 9597d4b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion language/pattern_matching_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
RUBY
end

it "captures both predecing and following elements to the pattern" do
it "captures both preceding and following elements to the pattern" do
eval(<<~RUBY).should == [[0, 1], [3, 4]]
case [0, 1, 2, 3, 4]
in [*pre, 2, *post]
Expand Down

0 comments on commit 9597d4b

Please sign in to comment.