Typofix under lib and test, tool directories

This commit is contained in:
Hiroshi SHIBATA 2023-12-25 11:32:03 +09:00
parent 7002e77694
commit 27ead9907d
No known key found for this signature in database
GPG Key ID: F9CF13417264FAC2
3 changed files with 7 additions and 7 deletions

View File

@ -2728,7 +2728,7 @@ module RubyVM::RJIT
sample_rhs = jit.peek_at_stack(0)
sample_lhs = jit.peek_at_stack(1)
# We are not allowing module here because the module hierachy can change at runtime.
# We are not allowing module here because the module hierarchy can change at runtime.
if C.RB_TYPE_P(sample_rhs, C::RUBY_T_CLASS)
return false
end

View File

@ -262,8 +262,8 @@ module Prism
end
def test_ConstantWriteNode
# We don't call assert_prism_eval directly in this case becuase we
# don't want to assign the constant mutliple times if we run
# We don't call assert_prism_eval directly in this case because we
# don't want to assign the constant multiple times if we run
# with `--repeat-count`
# Instead, we eval manually here, and remove the constant to
constant_name = "YCT"
@ -447,8 +447,8 @@ module Prism
end
def test_ConstantTargetNode
# We don't call assert_prism_eval directly in this case becuase we
# don't want to assign the constant mutliple times if we run
# We don't call assert_prism_eval directly in this case because we
# don't want to assign the constant multiple times if we run
# with `--repeat-count`
# Instead, we eval manually here, and remove the constant to
constant_names = ["YCT", "YCT2"]
@ -1379,7 +1379,7 @@ module Prism
end
############################################################################
# Calls / arugments #
# Calls / arguments #
############################################################################
def test_ArgumentsNode

View File

@ -48,7 +48,7 @@ File.foreach("#{gem_dir}/bundled_gems") do |line|
when "debug"
# Since debug gem requires debug.so in child processes without
# acitvating the gem, we preset necessary paths in RUBYLIB
# activating the gem, we preset necessary paths in RUBYLIB
# environment variable.
load_path = true