@@ -26,7 +26,7 @@ module SyntaxSuggest
2626 debug_display ( io . string )
2727 debug_display ( benchmark )
2828
29- expect ( io . string ) . to include ( <<~' EOM' )
29+ expect ( io . string ) . to include ( <<~EOM )
3030 6 class SyntaxTree < Ripper
3131 170 def self.parse(source)
3232 174 end
@@ -54,7 +54,7 @@ module SyntaxSuggest
5454 end
5555
5656 expect ( io . string ) . to_not include ( "def ruby_install_binstub_path" )
57- expect ( io . string ) . to include ( <<~' EOM' )
57+ expect ( io . string ) . to include ( <<~EOM )
5858 > 1067 def add_yarn_binary
5959 > 1068 return [] if yarn_preinstalled?
6060 > 1069 |
@@ -72,7 +72,7 @@ module SyntaxSuggest
7272 )
7373 debug_display ( io . string )
7474
75- expect ( io . string ) . to include ( <<~' EOM' )
75+ expect ( io . string ) . to include ( <<~EOM )
7676 1 Rails.application.routes.draw do
7777 > 113 namespace :admin do
7878 > 116 match "/foobar(*path)", via: :all, to: redirect { |_params, req|
@@ -91,7 +91,7 @@ module SyntaxSuggest
9191 )
9292 debug_display ( io . string )
9393
94- expect ( io . string ) . to include ( <<~' EOM' )
94+ expect ( io . string ) . to include ( <<~EOM )
9595 1 describe "webmock tests" do
9696 22 it "body" do
9797 27 query = Cutlass::FunctionQuery.new(
@@ -113,7 +113,7 @@ module SyntaxSuggest
113113 )
114114 debug_display ( io . string )
115115
116- expect ( io . string ) . to include ( <<~' EOM' )
116+ expect ( io . string ) . to include ( <<~EOM )
117117 5 module DerailedBenchmarks
118118 6 class RequireTree
119119 > 13 def initialize(name)
@@ -166,7 +166,7 @@ module SyntaxSuggest
166166 end
167167
168168 it "ambiguous end" do
169- source = <<~' EOM'
169+ source = <<~EOM
170170 def call # 0
171171 print "lol" # 1
172172 end # one # 2
@@ -186,7 +186,7 @@ def call # 0
186186 end
187187
188188 it "simple regression" do
189- source = <<~' EOM'
189+ source = <<~EOM
190190 class Dog
191191 def bark
192192 puts "woof"
@@ -206,7 +206,7 @@ def bark
206206 end
207207
208208 it "empty else" do
209- source = <<~' EOM'
209+ source = <<~EOM
210210 class Foo
211211 def foo
212212 if cond?
0 commit comments