Skip to content

Commit

Permalink
Update test
Browse files Browse the repository at this point in the history
  • Loading branch information
NickNeck committed Apr 2, 2024
1 parent 812c412 commit 263b7f2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/rewrite/source/ex_test.exs
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ defmodule Rewrite.Source.ExTest do

test "raises an error" do
source = Source.Ex.from_string(":a")
message = ~r/nofile:1:5: unexpected reserved word: end/
message = ~r/unexpected.reserved.word:.end/m

assert_raise SyntaxError, message, fn ->
Source.update(source, :content, ":ok end")
Expand Down

0 comments on commit 263b7f2

Please sign in to comment.