Skip to content

Commit 8db2ebc

Browse files
committed
Older rubies don't support <<~
1 parent ff2fdd8 commit 8db2ebc

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

spec/graphql/static_validation/rules/argument_literals_are_compatible_spec.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@
138138
end
139139

140140
describe "using enums for scalar arguments it adds an error" do
141-
let(:query_string) { <<~GRAPHQL
141+
let(:query_string) { <<-GRAPHQL
142142
{
143143
cheese(id: I_AM_ENUM_VALUE) {
144144
source
@@ -150,7 +150,7 @@
150150
let(:enum_invalid_for_id_error) do
151151
{
152152
"message" => "Argument 'id' on Field 'cheese' has an invalid value. Expected type 'Int!'.",
153-
"locations" => [{ "line" => 2, "column" => 3 }],
153+
"locations" => [{ "line" => 2, "column" => 9 }],
154154
"path"=> ["query", "cheese", "id"],
155155
"extensions"=> { "code" => "argumentLiteralsIncompatible", "typeName" => "Field", "argumentName" => "id" }
156156
}

0 commit comments

Comments
 (0)