summaryrefslogtreecommitdiff
path: root/spec/syntax_suggest/unit/code_search_spec.rb
diff options
context:
space:
mode:
authorschneems <[email protected]>2022-11-29 14:09:20 -0600
committerHiroshi SHIBATA <[email protected]>2022-11-30 12:58:47 +0900
commitd6e91784ab78c25e864869b05a149e7c9cfeab7d (patch)
tree9f6d98f11deeeff36f236c79db601f30e5f0acdf /spec/syntax_suggest/unit/code_search_spec.rb
parent33a9a7fd8d22ea5d87789e64a931dd03d28d9407 (diff)
Update SyntaxSuggest to use angle brackets `>`
``` $ ruby tool/sync_default_gems.rb syntax_suggest Sync ruby/syntax_suggest ``` https://github.com/ruby/syntax_suggest/pull/161
Notes
Notes: Merged: https://github.com/ruby/ruby/pull/6831
Diffstat (limited to 'spec/syntax_suggest/unit/code_search_spec.rb')
-rw-r--r--spec/syntax_suggest/unit/code_search_spec.rb12
1 files changed, 6 insertions, 6 deletions
diff --git a/spec/syntax_suggest/unit/code_search_spec.rb b/spec/syntax_suggest/unit/code_search_spec.rb
index b62b2c0a3c..f836ba36f3 100644
--- a/spec/syntax_suggest/unit/code_search_spec.rb
+++ b/spec/syntax_suggest/unit/code_search_spec.rb
@@ -185,8 +185,8 @@ module SyntaxSuggest
expect(search.record_dir.join("1-add-1-(3__4).txt").read).to include(<<~EOM)
1 class OH
2 def hello
- ❯ 3 def hai
- ❯ 4 end
+ > 3 def hai
+ > 4 end
5 end
EOM
end
@@ -245,7 +245,7 @@ module SyntaxSuggest
).call
expect(document).to include(<<~'EOM')
- ❯ 36 def filename
+ > 36 def filename
EOM
end
@@ -295,9 +295,9 @@ module SyntaxSuggest
1 require 'rails_helper'
2
3 RSpec.describe AclassNameHere, type: :worker do
- ❯ 4 describe "thing" do
- ❯ 16 end # line 16 accidental end, but valid block
- ❯ 30 end # mismatched due to 16
+ > 4 describe "thing" do
+ > 16 end # line 16 accidental end, but valid block
+ > 30 end # mismatched due to 16
31 end
EOM
end