Skip to content

Commit 1e5a7d1

Browse files
committed
Fix non-deterministic test failure
1 parent 52ed81f commit 1e5a7d1

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

test/test/finest_test.exs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -329,7 +329,7 @@ defmodule FinestTest do
329329
end
330330

331331
assert_raise ArgumentError,
332-
~S(decode failed, expected a Elixir.Finest.Point struct, got: #{calendar=>'Elixir.Calendar.ISO',month=>1,'__struct__'=>'Elixir.Date',day=>1,year=>2000}),
332+
~r(decode failed, expected a Elixir.Finest.Point struct, got: \#\{.*'__struct__'=>'Elixir.Date'.*\}),
333333
fn ->
334334
NIF.codec_struct(~D"2000-01-01")
335335
end

0 commit comments

Comments
 (0)