File tree Expand file tree Collapse file tree 1 file changed +12
-8
lines changed Expand file tree Collapse file tree 1 file changed +12
-8
lines changed Original file line number Diff line number Diff line change @@ -5,10 +5,12 @@ defmodule Sentry.SourcesTest do
55
66 describe "load_files/0" do
77 test "loads files" do
8- modify_env ( :sentry , root_source_code_paths: [
9- File . cwd! ( ) <> "/test/support/example-umbrella-app/apps/app_a" ,
10- File . cwd! ( ) <> "/test/support/example-umbrella-app/apps/app_b"
11- ] )
8+ modify_env ( :sentry ,
9+ root_source_code_paths: [
10+ File . cwd! ( ) <> "/test/support/example-umbrella-app/apps/app_a" ,
11+ File . cwd! ( ) <> "/test/support/example-umbrella-app/apps/app_b"
12+ ]
13+ )
1214
1315 assert % {
1416 "lib/module_a.ex" => % {
@@ -29,10 +31,12 @@ defmodule Sentry.SourcesTest do
2931 end
3032
3133 test "raises error when two files have the same relative path" do
32- modify_env ( :sentry , root_source_code_paths: [
33- File . cwd! ( ) <> "/test/support/example-umbrella-app-with-conflict/apps/app_a" ,
34- File . cwd! ( ) <> "/test/support/example-umbrella-app-with-conflict/apps/app_b"
35- ] )
34+ modify_env ( :sentry ,
35+ root_source_code_paths: [
36+ File . cwd! ( ) <> "/test/support/example-umbrella-app-with-conflict/apps/app_a" ,
37+ File . cwd! ( ) <> "/test/support/example-umbrella-app-with-conflict/apps/app_b"
38+ ]
39+ )
3640
3741 expected_error_message = """
3842 Found two source files in different source root paths with the same relative \
You can’t perform that action at this time.
0 commit comments