ruby-changes:55513
From: Kazuhiro <ko1@a...>
Date: Thu, 25 Apr 2019 00:52:42 +0900 (JST)
Subject: [ruby-changes:55513] Kazuhiro NISHIYAMA:dd5b6c71c6 (trunk): Fix typos [ci skip]
Kazuhiro NISHIYAMA 2019-04-25 00:52:16 +0900 (Thu, 25 Apr 2019) New Revision: dd5b6c71c6 https://git.ruby-lang.org/ruby.git/commit/?id=3Ddd5b6c71c6 Log: Fix typos [ci skip] Modified files: test/ruby/test_settracefunc.rb= From dd5b6c71c6cf157406e5ead4dfc6188d563bc268 Mon Sep 17 00:00:00 2001 From: Kazuhiro NISHIYAMA <zn@m...> Date: Thu, 25 Apr 2019 00:52:16 +0900 Subject: Fix typos [ci skip] diff --git a/test/ruby/test_settracefunc.rb b/test/ruby/test_settracefunc.rb index 2cf2526..61c9dd0 100644 --- a/test/ruby/test_settracefunc.rb +++ b/test/ruby/test_settracefunc.rb @@ -1067,7 +1067,7 @@ class TestSetTraceFunc < Test::Unit::TestCase https://github.com/ruby/ruby/blob/trunk/#L1067 }.enable{ 3.times{ next - } # 3 times b_retun + } # 3 times b_return } # 1 time b_return assert_equal 4, n @@ -1984,7 +1984,7 @@ class TestSetTraceFunc < Test::Unit::TestCase https://github.com/ruby/ruby/blob/trunk/#L1984 ## error - # targetted TP and targetted TP + # targeted TP and targeted TP ex = assert_raise(ArgumentError) do tp = TracePoint.new(:line){} tp.enable(target: code1){ @@ -1993,7 +1993,7 @@ class TestSetTraceFunc < Test::Unit::TestCase https://github.com/ruby/ruby/blob/trunk/#L1993 end assert_equal "can't nest-enable a targeting TracePoint", ex.message - # global TP and targetted TP + # global TP and targeted TP ex = assert_raise(ArgumentError) do tp = TracePoint.new(:line){} tp.enable{ @@ -2002,7 +2002,7 @@ class TestSetTraceFunc < Test::Unit::TestCase https://github.com/ruby/ruby/blob/trunk/#L2002 end assert_equal "can't nest-enable a targeting TracePoint", ex.message - # targetted TP and global TP + # targeted TP and global TP ex = assert_raise(ArgumentError) do tp = TracePoint.new(:line){} tp.enable(target: code1){ @@ -2011,7 +2011,7 @@ class TestSetTraceFunc < Test::Unit::TestCase https://github.com/ruby/ruby/blob/trunk/#L2011 end assert_equal "can't nest-enable a targeting TracePoint", ex.message - # targetted TP and disable + # targeted TP and disable ex = assert_raise(ArgumentError) do tp = TracePoint.new(:line){} tp.enable(target: code1){ @@ -2032,7 +2032,7 @@ class TestSetTraceFunc < Test::Unit::TestCase https://github.com/ruby/ruby/blob/trunk/#L2032 end assert_equal [:tp2, :tp1, :___], events - # succss with two tracepoints (global/targeting) + # success with two tracepoints (global/targeting) events = [] tp1 = TracePoint.new(:line){|tp| events << :tp1} tp2 = TracePoint.new(:line){|tp| events << :tp2} @@ -2044,7 +2044,7 @@ class TestSetTraceFunc < Test::Unit::TestCase https://github.com/ruby/ruby/blob/trunk/#L2044 end assert_equal [:tp1, :tp1, :tp1, :tp1, :tp2, :tp1, :___], events - # succss with two tracepoints (targeting/global) + # success with two tracepoints (targeting/global) events = [] tp1 = TracePoint.new(:line){|tp| events << :tp1} tp2 = TracePoint.new(:line){|tp| events << :tp2} -- cgit v0.10.2 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/