[前][次][番号順一覧][スレッド一覧]

ruby-changes:69480

From: Alan <ko1@a...>
Date: Thu, 28 Oct 2021 02:00:19 +0900 (JST)
Subject: [ruby-changes:69480] 0d9913e52f (master): Fix indentation in test

https://git.ruby-lang.org/ruby.git/commit/?id=0d9913e52f

From 0d9913e52f3cf3014f2e7a9d9276440a9cd396ea Mon Sep 17 00:00:00 2001
From: Alan Wu <XrXr@u...>
Date: Mon, 25 Oct 2021 20:22:54 -0400
Subject: Fix indentation in test

---
 test/ruby/test_yjit.rb | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/test/ruby/test_yjit.rb b/test/ruby/test_yjit.rb
index 7b8cde6c0cd..691f50a7c1b 100644
--- a/test/ruby/test_yjit.rb
+++ b/test/ruby/test_yjit.rb
@@ -30,11 +30,11 @@ class TestYJIT < Test::Unit::TestCase https://github.com/ruby/ruby/blob/trunk/test/ruby/test_yjit.rb#L30
   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
-- 
cgit v1.2.1


--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]