summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorAlan Wu <XrXr@users.noreply.github.com>2021-10-25 20:22:54 -0400
committerAlan Wu <XrXr@users.noreply.github.com>2021-10-27 13:00:05 -0400
commit0d9913e52f3cf3014f2e7a9d9276440a9cd396ea (patch)
treeee4fe4ceab7f55713705c0628e632aec2acb663d /test
parent367884c65912b3305d18f74b84b7c9e396d14161 (diff)
Fix indentation in test
Notes
Notes: Merged: https://github.com/ruby/ruby/pull/5022
Diffstat (limited to 'test')
-rw-r--r--test/ruby/test_yjit.rb10
1 files changed, 5 insertions, 5 deletions
diff --git a/test/ruby/test_yjit.rb b/test/ruby/test_yjit.rb
index 7b8cde6c0c..691f50a7c1 100644
--- a/test/ruby/test_yjit.rb
+++ b/test/ruby/test_yjit.rb
@@ -30,11 +30,11 @@ class TestYJIT < Test::Unit::TestCase
end
def test_command_line_switches
- assert_in_out_err('--yjit-', '', [], /invalid option --yjit-/)
- assert_in_out_err('--yjithello', '', [], /invalid option --yjithello/)
- assert_in_out_err('--yjit-call-threshold', '', [], /--yjit-call-threshold needs an argument/)
- assert_in_out_err('--yjit-call-threshold=', '', [], /--yjit-call-threshold needs an argument/)
- assert_in_out_err('--yjit-greedy-versioning=1', '', [], /warning: argument to --yjit-greedy-versioning is ignored/)
+ assert_in_out_err('--yjit-', '', [], /invalid option --yjit-/)
+ assert_in_out_err('--yjithello', '', [], /invalid option --yjithello/)
+ assert_in_out_err('--yjit-call-threshold', '', [], /--yjit-call-threshold needs an argument/)
+ assert_in_out_err('--yjit-call-threshold=', '', [], /--yjit-call-threshold needs an argument/)
+ assert_in_out_err('--yjit-greedy-versioning=1', '', [], /warning: argument to --yjit-greedy-versioning is ignored/)
end
def test_enable_from_env_var