You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: lib/elixir/test/elixir/inspect_test.exs
+15-3Lines changed: 15 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -526,7 +526,11 @@ defmodule Inspect.MapTest do
526
526
# Inspect.Error is raised here when we tried to print the error message
527
527
# called by another exception (Protocol.UndefinedError in this case)
528
528
exception_message=~s'''
529
-
protocol Enumerable not implemented for #Inspect.Error<
529
+
protocol Enumerable not implemented for type Inspect.MapTest.Failing (a struct)
530
+
531
+
Got value:
532
+
533
+
#Inspect.Error<
530
534
got ArgumentError with message:
531
535
532
536
"""
@@ -926,7 +930,11 @@ defmodule Inspect.CustomProtocolTest do
926
930
got Protocol.UndefinedError with message:
927
931
928
932
"""
929
-
protocol Inspect.CustomProtocolTest.CustomInspect not implemented for %Inspect.CustomProtocolTest.MissingImplementation{} of type Inspect.CustomProtocolTest.MissingImplementation (a struct)
933
+
protocol Inspect.CustomProtocolTest.CustomInspect not implemented for type Inspect.CustomProtocolTest.MissingImplementation (a struct)
@@ -953,7 +961,11 @@ defmodule Inspect.CustomProtocolTest do
953
961
got Protocol.UndefinedError with message:
954
962
955
963
"""
956
-
protocol Inspect.CustomProtocolTest.CustomInspect not implemented for %Inspect.CustomProtocolTest.MissingImplementation{} of type Inspect.CustomProtocolTest.MissingImplementation (a struct)
964
+
protocol Inspect.CustomProtocolTest.CustomInspect not implemented for type Inspect.CustomProtocolTest.MissingImplementation (a struct)
0 commit comments