Skip to content

Commit 986a046

Browse files
Remove trainling comma , in tests
1 parent 6b0f725 commit 986a046

22 files changed

+54
-56
lines changed

test/test_mpi_p4est_2d.jl

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ const EXAMPLES_DIR = pkgdir(Trixi, "examples", "p4est_2d_dgsem")
8383
"elixir_advection_amr_solution_independent.jl"),
8484
# Expected errors are exactly the same as with TreeMesh!
8585
l2=[4.949660644033807e-5],
86-
linf=[0.0004867846262313763],)
86+
linf=[0.0004867846262313763])
8787

8888
# Ensure that we do not have excessive memory allocations
8989
# (e.g., from type instabilities)
@@ -99,7 +99,7 @@ const EXAMPLES_DIR = pkgdir(Trixi, "examples", "p4est_2d_dgsem")
9999
@test_trixi_include(joinpath(EXAMPLES_DIR,
100100
"elixir_advection_amr_unstructured_flag.jl"),
101101
l2=[0.0012808538770535593],
102-
linf=[0.01752690016659812],)
102+
linf=[0.01752690016659812])
103103

104104
# Ensure that we do not have excessive memory allocations
105105
# (e.g., from type instabilities)
@@ -114,7 +114,7 @@ const EXAMPLES_DIR = pkgdir(Trixi, "examples", "p4est_2d_dgsem")
114114
@trixi_testset "elixir_advection_restart.jl" begin
115115
@test_trixi_include(joinpath(EXAMPLES_DIR, "elixir_advection_restart.jl"),
116116
l2=[4.507575525876275e-6],
117-
linf=[6.21489667023134e-5],)
117+
linf=[6.21489667023134e-5])
118118

119119
# Ensure that we do not have excessive memory allocations
120120
# (e.g., from type instabilities)

test/test_mpi_p4est_3d.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ const EXAMPLES_DIR = pkgdir(Trixi, "examples", "p4est_3d_dgsem")
5151
@test_trixi_include(joinpath(EXAMPLES_DIR, "elixir_advection_amr.jl"),
5252
# Expected errors are exactly the same as with TreeMesh!
5353
l2=[9.773852895157622e-6],
54-
linf=[0.0005853874124926162],)
54+
linf=[0.0005853874124926162])
5555

5656
# Ensure that we do not have excessive memory allocations
5757
# (e.g., from type instabilities)
@@ -83,7 +83,7 @@ const EXAMPLES_DIR = pkgdir(Trixi, "examples", "p4est_3d_dgsem")
8383
@trixi_testset "elixir_advection_restart.jl" begin
8484
@test_trixi_include(joinpath(EXAMPLES_DIR, "elixir_advection_restart.jl"),
8585
l2=[0.002590388934758452],
86-
linf=[0.01840757696885409],)
86+
linf=[0.01840757696885409])
8787

8888
# Ensure that we do not have excessive memory allocations
8989
# (e.g., from type instabilities)

test/test_mpi_t8code_2d.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ const EXAMPLES_DIR = pkgdir(Trixi, "examples", "t8code_2d_dgsem")
8383
"elixir_advection_amr_solution_independent.jl"),
8484
# Expected errors are exactly the same as with TreeMesh!
8585
l2=[4.949660644033807e-5],
86-
linf=[0.0004867846262313763],)
86+
linf=[0.0004867846262313763])
8787

8888
# Ensure that we do not have excessive memory allocations
8989
# (e.g., from type instabilities)
@@ -115,7 +115,7 @@ const EXAMPLES_DIR = pkgdir(Trixi, "examples", "t8code_2d_dgsem")
115115
@trixi_testset "elixir_advection_restart.jl" begin
116116
@test_trixi_include(joinpath(EXAMPLES_DIR, "elixir_advection_restart.jl"),
117117
l2=[4.507575525876275e-6],
118-
linf=[6.21489667023134e-5],)
118+
linf=[6.21489667023134e-5])
119119

120120
# Ensure that we do not have excessive memory allocations
121121
# (e.g., from type instabilities)

test/test_mpi_t8code_3d.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ const EXAMPLES_DIR = pkgdir(Trixi, "examples", "t8code_3d_dgsem")
5151
@test_trixi_include(joinpath(EXAMPLES_DIR, "elixir_advection_amr.jl"),
5252
# Expected errors are exactly the same as with TreeMesh!
5353
l2=[1.1302812803902801e-5],
54-
linf=[0.0007889950196294793],)
54+
linf=[0.0007889950196294793])
5555

5656
# Ensure that we do not have excessive memory allocations
5757
# (e.g., from type instabilities)
@@ -83,7 +83,7 @@ const EXAMPLES_DIR = pkgdir(Trixi, "examples", "t8code_3d_dgsem")
8383
@trixi_testset "elixir_advection_restart.jl" begin
8484
@test_trixi_include(joinpath(EXAMPLES_DIR, "elixir_advection_restart.jl"),
8585
l2=[0.002590388934758452],
86-
linf=[0.01840757696885409],)
86+
linf=[0.01840757696885409])
8787

8888
# Ensure that we do not have excessive memory allocations
8989
# (e.g., from type instabilities)

test/test_mpi_tree.jl

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -60,15 +60,15 @@ CI_ON_WINDOWS = (get(ENV, "GITHUB_ACTIONS", false) == "true") && Sys.iswindows()
6060
@test_trixi_include(joinpath(EXAMPLES_DIR, "elixir_advection_amr.jl"),
6161
# Expected errors are exactly the same as in the serial test!
6262
l2=[4.913300828257469e-5],
63-
linf=[0.00045263895394385967],)
63+
linf=[0.00045263895394385967])
6464
end
6565

6666
@trixi_testset "elixir_advection_amr_nonperiodic.jl" begin
6767
@test_trixi_include(joinpath(EXAMPLES_DIR,
6868
"elixir_advection_amr_nonperiodic.jl"),
6969
# Expected errors are exactly the same as in the serial test!
7070
l2=[3.2207388565869075e-5],
71-
linf=[0.0007508059772436404],)
71+
linf=[0.0007508059772436404])
7272
end
7373

7474
@trixi_testset "elixir_advection_restart_amr.jl" begin
@@ -89,7 +89,7 @@ CI_ON_WINDOWS = (get(ENV, "GITHUB_ACTIONS", false) == "true") && Sys.iswindows()
8989
@test_trixi_include(joinpath(EXAMPLES_DIR,
9090
"elixir_advection_amr_refine_twice.jl"),
9191
l2=[0.00020547512522578292],
92-
linf=[0.007831753383083506],)
92+
linf=[0.007831753383083506])
9393
meshfiles = filter(file -> endswith(file, ".h5") && startswith(file, "mesh"),
9494
readdir(outdir))
9595
@test length(meshfiles) > 1
@@ -99,7 +99,7 @@ CI_ON_WINDOWS = (get(ENV, "GITHUB_ACTIONS", false) == "true") && Sys.iswindows()
9999
@test_trixi_include(joinpath(EXAMPLES_DIR,
100100
"elixir_advection_amr_coarsen_twice.jl"),
101101
l2=[0.0014321062757891826],
102-
linf=[0.0253454486893413],)
102+
linf=[0.0253454486893413])
103103
end
104104

105105
# Hyperbolic diffusion
@@ -204,7 +204,7 @@ CI_ON_WINDOWS = (get(ENV, "GITHUB_ACTIONS", false) == "true") && Sys.iswindows()
204204
0.0002973166773747593,
205205
0.0002973166773760916,
206206
0.001154106793870291
207-
],)
207+
])
208208
end
209209
end
210210

@@ -323,7 +323,7 @@ CI_ON_WINDOWS = (get(ENV, "GITHUB_ACTIONS", false) == "true") && Sys.iswindows()
323323
0.03857193149447702,
324324
0.031090457959835893,
325325
0.12125130332971423
326-
],)
326+
])
327327
end
328328

329329
if !CI_ON_WINDOWS # see comment on `CI_ON_WINDOWS` in `test/test_mpi.jl`

test/test_p4est_2d.jl

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ end
9191
"elixir_advection_amr_solution_independent.jl"),
9292
# Expected errors are exactly the same as with StructuredMesh!
9393
l2=[4.949660644033807e-5],
94-
linf=[0.0004867846262313763],)
94+
linf=[0.0004867846262313763])
9595
# Ensure that we do not have excessive memory allocations
9696
# (e.g., from type instabilities)
9797
let
@@ -106,7 +106,7 @@ end
106106
@test_trixi_include(joinpath(EXAMPLES_DIR,
107107
"elixir_advection_amr_unstructured_flag.jl"),
108108
l2=[0.0012808538770535593],
109-
linf=[0.01752690016659812],)
109+
linf=[0.01752690016659812])
110110
# Ensure that we do not have excessive memory allocations
111111
# (e.g., from type instabilities)
112112
let
@@ -120,7 +120,7 @@ end
120120
@trixi_testset "elixir_advection_restart.jl" begin
121121
@test_trixi_include(joinpath(EXAMPLES_DIR, "elixir_advection_restart.jl"),
122122
l2=[4.507575525876275e-6],
123-
linf=[6.21489667023134e-5],)
123+
linf=[6.21489667023134e-5])
124124
# Ensure that we do not have excessive memory allocations
125125
# (e.g., from type instabilities)
126126
let
@@ -134,7 +134,7 @@ end
134134
@trixi_testset "elixir_advection_restart_amr.jl" begin
135135
@test_trixi_include(joinpath(EXAMPLES_DIR, "elixir_advection_restart_amr.jl"),
136136
l2=[2.869137983727866e-6],
137-
linf=[3.8353423270964804e-5],)
137+
linf=[3.8353423270964804e-5])
138138
# Ensure that we do not have excessive memory allocations
139139
# (e.g., from type instabilities)
140140
let

test/test_p4est_3d.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ end
6262
@test_trixi_include(joinpath(EXAMPLES_DIR, "elixir_advection_amr.jl"),
6363
# Expected errors are exactly the same as with TreeMesh!
6464
l2=[9.773852895157622e-6],
65-
linf=[0.0005853874124926162],)
65+
linf=[0.0005853874124926162])
6666
# Ensure that we do not have excessive memory allocations
6767
# (e.g., from type instabilities)
6868
let
@@ -106,7 +106,7 @@ end
106106
@trixi_testset "elixir_advection_restart.jl" begin
107107
@test_trixi_include(joinpath(EXAMPLES_DIR, "elixir_advection_restart.jl"),
108108
l2=[0.002590388934758452],
109-
linf=[0.01840757696885409],)
109+
linf=[0.01840757696885409])
110110
# Ensure that we do not have excessive memory allocations
111111
# (e.g., from type instabilities)
112112
let

test/test_parabolic_2d.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,7 @@ end
167167
0.04103131887989486,
168168
0.03990424032494211,
169169
0.13094018584692968
170-
],)
170+
])
171171
# Ensure that we do not have excessive memory allocations
172172
# (e.g., from type instabilities)
173173
let

test/test_structured_2d.jl

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ end
5959
6.314906965187994e-5,
6060
6.31490696496595e-5,
6161
6.314906965032563e-5
62-
],)
62+
])
6363

6464
@testset "analysis_callback(sol) for AnalysisCallbackCoupled" begin
6565
errors = analysis_callback(sol)
@@ -95,7 +95,7 @@ end
9595
linf=[
9696
6.627000273318195e-5,
9797
6.62700027264096e-5
98-
],)
98+
])
9999

100100
@testset "analysis_callback(sol) for AnalysisCallbackCoupled" begin
101101
# Ensure that we do not have excessive memory allocations
@@ -275,7 +275,7 @@ end
275275
@trixi_testset "elixir_advection_restart.jl" begin
276276
@test_trixi_include(joinpath(EXAMPLES_DIR, "elixir_advection_restart.jl"),
277277
l2=[4.219208035582454e-6],
278-
linf=[3.438434404412494e-5],)
278+
linf=[3.438434404412494e-5])
279279
# Ensure that we do not have excessive memory allocations
280280
# (e.g., from type instabilities)
281281
let
@@ -1167,7 +1167,7 @@ end
11671167
5.317911003777098e-7,
11681168
9.92786092363085e-7,
11691169
3.430672968714232e-8
1170-
],)
1170+
])
11711171

11721172
@testset "analysis_callback(sol) for AnalysisCallbackCoupled" begin
11731173
errors = analysis_callback(sol)

test/test_structured_3d.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ end
6262
@trixi_testset "elixir_advection_restart.jl" begin
6363
@test_trixi_include(joinpath(EXAMPLES_DIR, "elixir_advection_restart.jl"),
6464
l2=[0.0025903889347585777],
65-
linf=[0.018407576968841655],)
65+
linf=[0.018407576968841655])
6666
# Ensure that we do not have excessive memory allocations
6767
# (e.g., from type instabilities)
6868
let
@@ -276,7 +276,7 @@ end
276276
0.01282206030593043, 0.03911437990598213,
277277
0.021962225923304324, 0.03169774571258743,
278278
0.021591564663781426, 0.034028148178115364,
279-
0.020084593242858988],)
279+
0.020084593242858988])
280280
# Ensure that we do not have excessive memory allocations
281281
# (e.g., from type instabilities)
282282
let

0 commit comments

Comments
 (0)