Skip to content

Commit

Permalink
Fix typos (#335)
Browse files Browse the repository at this point in the history
  • Loading branch information
kojix2 authored Feb 8, 2024
1 parent 89f9584 commit bfbc967
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions lib/iruby/kernel_app.rb
Original file line number Diff line number Diff line change
Expand Up @@ -50,13 +50,13 @@ def run
if argv.length <= 3
@connection_file, @boot_file, @work_dir = argv
else
raise ArgumentError, "Too many comandline arguments"
raise ArgumentError, "Too many commandline arguments"
end
else
if argv.length <= 2
@boot_file, @work_dir = argv
else
raise ArgumentError, "Too many comandline arguments"
raise ArgumentError, "Too many commandline arguments"
end
end

Expand Down
2 changes: 1 addition & 1 deletion test/iruby/application/register_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ def setup
end
end

test("IRuby warns tthe existence of the kernel in IPython's kerenls directory and executes `jupyter kernelspec install` command") do
test("IRuby warns the existence of the kernel in IPython's kernels directory and executes `jupyter kernelspec install` command") do
out, status = Open3.capture2e(*iruby_command("register"))
assert status.success?
assert_match(/^Fake Jupyter$/, out)
Expand Down

0 comments on commit bfbc967

Please sign in to comment.