From bfbc967a0566490b0448074939d8beda27eec8a3 Mon Sep 17 00:00:00 2001 From: kojix2 <2xijok@gmail.com> Date: Thu, 8 Feb 2024 23:58:00 +0900 Subject: [PATCH] Fix typos (#335) --- lib/iruby/kernel_app.rb | 4 ++-- test/iruby/application/register_test.rb | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/iruby/kernel_app.rb b/lib/iruby/kernel_app.rb index 98b96b0..9210e65 100644 --- a/lib/iruby/kernel_app.rb +++ b/lib/iruby/kernel_app.rb @@ -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 diff --git a/test/iruby/application/register_test.rb b/test/iruby/application/register_test.rb index f7ad9b4..bc7b3a4 100644 --- a/test/iruby/application/register_test.rb +++ b/test/iruby/application/register_test.rb @@ -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)