@@ -147,7 +147,7 @@ defmodule Kernel.ParallelCompilerTest do
147147 expected_msg = "Undef.__struct__/1 is undefined, cannot expand struct Undef"
148148
149149 assert capture_io ( :stderr , fn ->
150- assert { :error , [ { ^ fixture , 3 , msg } , { ^ fixture , 0 , compile_msg } ] , [ ] } =
150+ assert { :error , [ { ^ fixture , { 3 , 5 } , msg } , { ^ fixture , 0 , compile_msg } ] , [ ] } =
151151 Kernel.ParallelCompiler . compile ( [ fixture ] )
152152
153153 assert msg =~ expected_msg
@@ -216,7 +216,7 @@ defmodule Kernel.ParallelCompilerTest do
216216 "ThisModuleWillNeverBeAvailable.__struct__/1 is undefined, cannot expand struct ThisModuleWillNeverBeAvailable"
217217
218218 assert capture_io ( :stderr , fn ->
219- assert { :error , [ { ^ fixture , 7 , msg } , { ^ fixture , 0 , compile_msg } ] , [ ] } =
219+ assert { :error , [ { ^ fixture , { 7 , 3 } , msg } , { ^ fixture , 0 , compile_msg } ] , [ ] } =
220220 Kernel.ParallelCompiler . compile ( [ fixture ] )
221221
222222 assert msg =~ expected_msg
@@ -245,7 +245,9 @@ defmodule Kernel.ParallelCompilerTest do
245245 "ThisModuleWillNeverBeAvailable.__struct__/1 is undefined, cannot expand struct ThisModuleWillNeverBeAvailable"
246246
247247 assert capture_io ( :stderr , fn ->
248- assert { :error , [ { ^ missing_struct , 2 , msg } , { ^ missing_struct , 0 , compile_msg } ] , [ ] } =
248+ assert { :error ,
249+ [ { ^ missing_struct , { 2 , 3 } , msg } , { ^ missing_struct , 0 , compile_msg } ] ,
250+ [ ] } =
249251 Kernel.ParallelCompiler . compile ( [ missing_struct , depends_on ] )
250252
251253 assert msg =~ expected_msg
@@ -272,7 +274,9 @@ defmodule Kernel.ParallelCompilerTest do
272274 expected_msg = "module Unknown.Module is not loaded and could not be found"
273275
274276 assert capture_io ( :stderr , fn ->
275- assert { :error , [ { ^ missing_import , 2 , msg } , { ^ missing_import , 0 , compile_msg } ] , [ ] } =
277+ assert { :error ,
278+ [ { ^ missing_import , { 2 , 3 } , msg } , { ^ missing_import , 0 , compile_msg } ] ,
279+ [ ] } =
276280 Kernel.ParallelCompiler . compile ( [ missing_import , depends_on ] )
277281
278282 assert msg =~ expected_msg
@@ -509,7 +513,7 @@ defmodule Kernel.ParallelCompilerTest do
509513 expected_msg = "Undef.__struct__/1 is undefined, cannot expand struct Undef"
510514
511515 assert capture_io ( :stderr , fn ->
512- assert { :error , [ { ^ fixture , 3 , msg } , { ^ fixture , 0 , compile_msg } ] , [ ] } =
516+ assert { :error , [ { ^ fixture , { 3 , 5 } , msg } , { ^ fixture , 0 , compile_msg } ] , [ ] } =
513517 Kernel.ParallelCompiler . require ( [ fixture ] )
514518
515519 assert msg =~ expected_msg
@@ -537,7 +541,7 @@ defmodule Kernel.ParallelCompilerTest do
537541 "ThisModuleWillNeverBeAvailable.__struct__/1 is undefined, cannot expand struct ThisModuleWillNeverBeAvailable"
538542
539543 assert capture_io ( :stderr , fn ->
540- assert { :error , [ { ^ fixture , 7 , msg } , { ^ fixture , 0 , compile_msg } ] , [ ] } =
544+ assert { :error , [ { ^ fixture , { 7 , 3 } , msg } , { ^ fixture , 0 , compile_msg } ] , [ ] } =
541545 Kernel.ParallelCompiler . require ( [ fixture ] )
542546
543547 assert msg =~ expected_msg
0 commit comments