Skip to content

Commit 7324cbf

Browse files
authored
Various typo corrections (#370)
* Fix typo in MIME type * Fix typo in directory name * Remove non-existent adapter * Fix grammar in error messages and comments
1 parent 6c23502 commit 7324cbf

File tree

5 files changed

+5
-5
lines changed

5 files changed

+5
-5
lines changed

lib/iruby/application.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -225,7 +225,7 @@ def register_kernel(argv)
225225
end
226226

227227
if ipython_dir
228-
File.join(ipython_dir, 'kerenels')
228+
File.join(ipython_dir, 'kernels')
229229
else
230230
Jupyter.kernelspec_dir
231231
end

lib/iruby/display.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ module Display
77
"text/markdown" => :to_markdown,
88
"image/svg+xml" => :to_svg,
99
"image/png" => :to_png,
10-
"appliation/pdf" => :to_pdf,
10+
"application/pdf" => :to_pdf,
1111
"image/jpeg" => :to_jpeg,
1212
"text/latex" => [:to_latex, :to_tex],
1313
# NOTE: Do not include the entry of "application/json" because

lib/iruby/session_adapter.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ def self.select_adapter_class(name=nil)
6060
end
6161
end
6262
if name == 'cztop'
63-
warn "WARNING: cztop was deprecated and will be removed; Use ffi-rzmq, instead."
63+
warn "WARNING: cztop is deprecated and will be removed; Use ffi-rzmq instead."
6464
end
6565
return cls
6666
end

run-test.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ set -ex
44

55
export PYTHON=python3
66

7-
ADAPTERS="cztop ffi-rzmq pyzmq"
7+
ADAPTERS="cztop ffi-rzmq"
88

99
for adapter in $ADAPTERS; do
1010
export IRUBY_TEST_SESSION_ADAPTER_NAME=$adapter

test/integration_test.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ def wait_prompt
3838
end
3939

4040
def test_interaction
41-
omit("This test too much unstable")
41+
omit("This test is too unstable")
4242

4343
write '"Hello, world!"'
4444
expect '"Hello, world!"'

0 commit comments

Comments
 (0)