summaryrefslogtreecommitdiffhomepage
path: root/mrbgems
diff options
context:
space:
mode:
authorYukihiro "Matz" Matsumoto <[email protected]>2021-04-09 22:07:50 +0900
committerGitHub <[email protected]>2021-04-09 22:07:50 +0900
commitf7493b73cb5307fbbaddcfca5ae9541775bfc00d (patch)
treef7c743d7889e08423752289c1df8e5d99678b68f /mrbgems
parentc2c37e1451d258c13ff160e0fd5f48acfcb1c52f (diff)
parentd8622fc68b88102cbf358b524913c823af31a1b0 (diff)
downloadmruby-f7493b73cb5307fbbaddcfca5ae9541775bfc00d.tar.gz
mruby-f7493b73cb5307fbbaddcfca5ae9541775bfc00d.zip
Merge pull request #5400 from jbampton/fix-spelling
chore: fix spelling
Diffstat (limited to 'mrbgems')
-rw-r--r--mrbgems/mruby-bin-mirb/tools/mirb/mirb.c2
-rw-r--r--mrbgems/mruby-io/test/io.rb2
2 files changed, 2 insertions, 2 deletions
diff --git a/mrbgems/mruby-bin-mirb/tools/mirb/mirb.c b/mrbgems/mruby-bin-mirb/tools/mirb/mirb.c
index a4780a415..464df1c24 100644
--- a/mrbgems/mruby-bin-mirb/tools/mirb/mirb.c
+++ b/mrbgems/mruby-bin-mirb/tools/mirb/mirb.c
@@ -211,7 +211,7 @@ is_code_block_open(struct mrb_parser_state *parser)
/* an expression was ended */
break;
case EXPR_ENDARG:
- /* closing parenthese */
+ /* closing parenthesis */
break;
case EXPR_ENDFN:
/* definition end */
diff --git a/mrbgems/mruby-io/test/io.rb b/mrbgems/mruby-io/test/io.rb
index 76ae13a58..328b5292f 100644
--- a/mrbgems/mruby-io/test/io.rb
+++ b/mrbgems/mruby-io/test/io.rb
@@ -524,7 +524,7 @@ assert('IO#close_on_exec') do
fd = IO.sysopen $mrbtest_io_wfname, "w"
io = IO.new fd, "w"
begin
- # IO.sysopen opens a file descripter with O_CLOEXEC flag.
+ # IO.sysopen opens a file descriptor with O_CLOEXEC flag.
assert_true io.close_on_exec?
rescue ScriptError
io.close