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/kernel/diagnostics_test.exs
+7-7Lines changed: 7 additions & 7 deletions
Original file line number
Diff line number
Diff line change
@@ -819,7 +819,7 @@ defmodule Kernel.DiagnosticsTest do
819
819
File.write!(path,source)
820
820
821
821
expected="""
822
-
warning: Unknown.b/0 is undefined (module Unknown is not available or is yet to be defined)
822
+
warning: Unknown.b/0 is undefined (module Unknown is not available or is yet to be defined). Make sure the module name is correct and has been specified in full (or that an alias has been defined)
823
823
│
824
824
3 │ defp a, do: Unknown.b()
825
825
│ ~
@@ -846,7 +846,7 @@ defmodule Kernel.DiagnosticsTest do
846
846
File.write!(path,source)
847
847
848
848
expected="""
849
-
warning: Unknown.b/0 is undefined (module Unknown is not available or is yet to be defined)
849
+
warning: Unknown.b/0 is undefined (module Unknown is not available or is yet to be defined). Make sure the module name is correct and has been specified in full (or that an alias has been defined)
850
850
│
851
851
3 │ defp a, do: Unknown.b()
852
852
│ ~~~~~~~~~~~~~~~~~~~~~~~
@@ -867,7 +867,7 @@ defmodule Kernel.DiagnosticsTest do
867
867
"""
868
868
869
869
expected="""
870
-
warning: Unknown.b/0 is undefined (module Unknown is not available or is yet to be defined)
870
+
warning: Unknown.b/0 is undefined (module Unknown is not available or is yet to be defined). Make sure the module name is correct and has been specified in full (or that an alias has been defined)
871
871
└─ nofile:2:23: Sample.a/0
872
872
"""
873
873
@@ -955,7 +955,7 @@ defmodule Kernel.DiagnosticsTest do
955
955
File.write!(path,source)
956
956
957
957
expected="""
958
-
warning: Unknown.bar/1 is undefined (module Unknown is not available or is yet to be defined)
958
+
warning: Unknown.bar/1 is undefined (module Unknown is not available or is yet to be defined). Make sure the module name is correct and has been specified in full (or that an alias has been defined)
959
959
│
960
960
5 │ ... Unknown.bar(:test)
961
961
│ ~
@@ -1006,7 +1006,7 @@ defmodule Kernel.DiagnosticsTest do
1006
1006
"""
1007
1007
1008
1008
expected="""
1009
-
warning: Unknown.bar/0 is undefined (module Unknown is not available or is yet to be defined)
1009
+
warning: Unknown.bar/0 is undefined (module Unknown is not available or is yet to be defined). Make sure the module name is correct and has been specified in full (or that an alias has been defined)
1010
1010
└─ nofile:3:13: Sample.a/0
1011
1011
└─ nofile:4:13: Sample.a/0
1012
1012
└─ nofile:5:13: Sample.a/0
@@ -1039,7 +1039,7 @@ defmodule Kernel.DiagnosticsTest do
1039
1039
File.write!(path,source)
1040
1040
1041
1041
expected="""
1042
-
warning: Unknown.bar/0 is undefined (module Unknown is not available or is yet to be defined)
1042
+
warning: Unknown.bar/0 is undefined (module Unknown is not available or is yet to be defined). Make sure the module name is correct and has been specified in full (or that an alias has been defined)
1043
1043
│
1044
1044
5 │ Unknown.bar()
1045
1045
│ ~
@@ -1076,7 +1076,7 @@ defmodule Kernel.DiagnosticsTest do
1076
1076
File.write!(path,source)
1077
1077
1078
1078
expected="""
1079
-
warning: Unknown.bar/0 is undefined (module Unknown is not available or is yet to be defined)
1079
+
warning: Unknown.bar/0 is undefined (module Unknown is not available or is yet to be defined). Make sure the module name is correct and has been specified in full (or that an alias has been defined)
** (UndefinedFunctionError) function Hello.world/0 is undefined (module Hello is not available)
647
+
** (UndefinedFunctionError) function Hello.world/0 is undefined (module Hello is not available). Make sure the module name is correct and has been specified in full (or that an alias has been defined)
0 commit comments