8000 Typofix under lib and test, tool directories · github/ruby@27ead99 · GitHub
[go: up one dir, main page]

Skip to content

Commit 27ead99

Browse files
committed
Typofix under lib and test, tool directories
1 parent 7002e77 commit 27ead99

File tree

3 files changed

+7
-7
lines changed

3 files changed

+7
-7
lines changed

lib/ruby_vm/rjit/insn_compiler.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2728,7 +2728,7 @@ def jit_rb_kernel_is_a(jit, ctx, asm, argc, known_recv_class)
27282728
sample_rhs = jit.peek_at_stack(0)
27292729
sample_lhs = jit.peek_at_stack(1)
27302730

2731-
# We are not allowing module here because the module hierachy can change at runtime.
2731+
# We are not allowing module here because the module hierarchy can change at runtime.
27322732
if C.RB_TYPE_P(sample_rhs, C::RUBY_T_CLASS)
27332733
return false
27342734
end

test/ruby/test_compile_prism.rb

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -262,8 +262,8 @@ def test_ConstantOrWriteNode
262262
end
263263

264264
def test_ConstantWriteNode
265-
# We don't call assert_prism_eval directly in this case becuase we
266-
# don't want to assign the constant mutliple times if we run
265+
# We don't call assert_prism_eval directly in this case because we
266+
# don't want to assign the constant multiple times if we run
267267
# with `--repeat-count`
268268
# Instead, we eval manually here, and remove the constant to
269269
constant_name = "YCT"
@@ -447,8 +447,8 @@ def test_ClassVariableTargetNode
447447
end
448448

449449
def test_ConstantTargetNode
450-
# We don't call assert_prism_eval directly in this case becuase we
451-
# don't want to assign the constant mutliple times if we run
450+
# We don't call assert_prism_eval directly in this case because we
451+
# don't want to assign the constant multiple times if we run
452452
# with `--repeat-count`
453453
# Instead, we eval manually here, and remove the constant to
454454
constant_names = ["YCT", "YCT2"]
@@ -1379,7 +1379,7 @@ def test_YieldNode
13791379
end
13801380

13811381
############################################################################
1382-
# Calls / arugments #
1382+
# Calls / arguments #
13831383
############################################################################
13841384

13851385
def test_ArgumentsNode

tool/test-bundled-gems.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@
4848

4949
when "debug"
5050
# Since debug gem requires debug.so in child processes without
51-
# acitvating the gem, we preset necessary paths in RUBYLIB
51+
# activating the gem, we preset necessary paths in RUBYLIB
5252
# environment variable.
5353
load_path = true
5454

0 commit comments

Comments
 (0)
0