summaryrefslogtreecommitdiffhomepage
path: root/mrbgems
diff options
context:
space:
mode:
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