summaryrefslogtreecommitdiff
path: root/spec/syntax_suggest/unit/clean_document_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/clean_document_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/clean_document_spec.rb')
-rw-r--r--spec/syntax_suggest/unit/clean_document_spec.rb16
1 files changed, 8 insertions, 8 deletions
diff --git a/spec/syntax_suggest/unit/clean_document_spec.rb b/spec/syntax_suggest/unit/clean_document_spec.rb
index fa049ad8df..4fb79efd62 100644
--- a/spec/syntax_suggest/unit/clean_document_spec.rb
+++ b/spec/syntax_suggest/unit/clean_document_spec.rb
@@ -66,9 +66,9 @@ module SyntaxSuggest
highlight_lines: lines[0]
).call
).to eq(<<~'EOM')
- ❯ 1 User
- ❯ 2 .where(name: 'schneems')
- ❯ 3 .first
+ > 1 User
+ > 2 .where(name: 'schneems')
+ > 3 .first
EOM
end
@@ -169,8 +169,8 @@ module SyntaxSuggest
).call
).to eq(<<~'EOM')
1 context "timezones workaround" do
- ❯ 2 it "should receive a time in UTC format and return the time with the"\
- ❯ 3 "office's UTC offset substracted from it" do
+ > 2 it "should receive a time in UTC format and return the time with the"\
+ > 3 "office's UTC offset substracted from it" do
4 travel_to DateTime.new(2020, 10, 1, 10, 0, 0) do
5 office = build(:office)
6 end
@@ -227,9 +227,9 @@ module SyntaxSuggest
highlight_lines: lines[0]
).call
).to eq(<<~'EOM')
- ❯ 1 it "should " \
- ❯ 2 "keep " \
- ❯ 3 "going " do
+ > 1 it "should " \
+ > 2 "keep " \
+ > 3 "going " do
4 end
EOM
end