summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorKoichi ITO <koic.ito@gmail.com>2024-03-24 20:06:35 +0900
committergit <svn-admin@ruby-lang.org>2024-03-26 10:51:12 +0000
commit52cf6ec46b744a2ac34d9f6531520bf2aee017f5 (patch)
treed5485317d246400bdf03813fdf83ced93698c1bb /test
parenta850cd1a87bef738c40d9c550fb8823699083f2e (diff)
[ruby/prism] Fix typos
After finding the "if if" typo, some additional typos identified by running `codespell` are also being corrected: https://github.com/codespell-project/codespell https://github.com/ruby/prism/commit/e6a34cfeeb
Diffstat (limited to 'test')
-rw-r--r--test/prism/parse_test.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/prism/parse_test.rb b/test/prism/parse_test.rb
index db66b431ba..4255553f51 100644
--- a/test/prism/parse_test.rb
+++ b/test/prism/parse_test.rb
@@ -204,7 +204,7 @@ module Prism
# Additionally, Ripper cannot parse the %w[] fixture in this file, so set ripper_should_parse to false.
ripper_should_parse = false if relative == "spanning_heredoc.txt"
- # Ruby < 3.3.0 cannot parse heredocs where there are leading whitespace charactes in the heredoc start.
+ # Ruby < 3.3.0 cannot parse heredocs where there are leading whitespace characters in the heredoc start.
# Example: <<~' EOF' or <<-' EOF'
# https://bugs.ruby-lang.org/issues/19539
ripper_should_parse = false if relative == "heredocs_leading_whitespace.txt" && RUBY_VERSION < "3.3.0"