File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
apps/engine/test/engine/build Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -451,7 +451,7 @@ defmodule Engine.Build.ErrorTest do
451451
452452 # used a regex here because the error changed in elixir 1.18
453453 assert diagnostic . message =~
454- ~r[ protocol Enumerable not implemented for( 1 of type)? Integer]
454+ ~r[ protocol Enumerable not implemented for( 1 of)?( type)? Integer]
455455
456456 assert decorate ( document_text , diagnostic . position ) =~ "«for i <- 1, do: i\n »"
457457 end
@@ -468,7 +468,7 @@ defmodule Engine.Build.ErrorTest do
468468
469469 # used a regex here because the error changed in elixir 1.18
470470 assert diagnostic . message =~
471- ~r[ protocol Enumerable not implemented for( 1 of type)? Integer]
471+ ~r[ protocol Enumerable not implemented for( 1 of)?( type)? Integer]
472472
473473 assert decorate ( document_text , diagnostic . position ) =~ "«for i <- 1, do: i\n »"
474474 end
You can’t perform that action at this time.
0 commit comments