Skip to content

Commit 7996a1e

Browse files
committed
Run formatter
1 parent 0c77f04 commit 7996a1e

File tree

1 file changed

+12
-12
lines changed

1 file changed

+12
-12
lines changed

test/runtests.jl

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ using TestItemRunner
22

33
## Test save and load behavior of @cache macro
44
@testitem "@cache save and load" begin
5-
mktempdir(@__DIR__; prefix="temp_") do dirpath
5+
mktempdir(@__DIR__; prefix = "temp_") do dirpath
66
path = joinpath(dirpath, "test.bson")
77

88
# 1. Verify log messages for saving
@@ -62,7 +62,7 @@ end
6262
## Test overwrite behavior of @cache macro with `keyword = value` form
6363
@testitem "@cache overwrite = value" begin
6464
using BSON, Dates
65-
mktempdir(@__DIR__; prefix="temp_") do dirpath
65+
mktempdir(@__DIR__; prefix = "temp_") do dirpath
6666
path = joinpath(dirpath, "test-overwrite-value.bson")
6767

6868
# 1. Change file contents
@@ -102,7 +102,7 @@ end
102102
## Test overwrite behavior of @cache macro with `keyword` form
103103
@testitem "@cache overwrite" begin
104104
using BSON, Dates
105-
mktempdir(@__DIR__; prefix="temp_") do dirpath
105+
mktempdir(@__DIR__; prefix = "temp_") do dirpath
106106
path = joinpath(dirpath, "test-overwrite.bson")
107107

108108
# 1. Change file contents
@@ -142,7 +142,7 @@ end
142142

143143
## Test behavior of @cache macro with no assigned variables
144144
@testitem "@cache no assigned variables" begin
145-
mktempdir(@__DIR__; prefix="temp_") do dirpath
145+
mktempdir(@__DIR__; prefix = "temp_") do dirpath
146146
path = joinpath(dirpath, "test-no-vars.bson")
147147

148148
# 1. Verify log messages for saving
@@ -183,7 +183,7 @@ end
183183

184184
## Test @cache macro on a complicated begin...end block
185185
@testitem "@cache complicated begin...end block" begin
186-
mktempdir(@__DIR__; prefix="temp_") do dirpath
186+
mktempdir(@__DIR__; prefix = "temp_") do dirpath
187187
path = joinpath(dirpath, "test-complicated.bson")
188188

189189
# 1. Save - run without log check so variables escape properly
@@ -275,11 +275,11 @@ end
275275
# https://github.com/JuliaIO/BSON.jl/issues/25
276276
@testitem "@cache in a module" begin
277277
using DataFrames
278-
278+
279279
module MyModule
280280
using CacheVariables, Test, DataFrames
281-
282-
mktempdir(@__DIR__; prefix="temp_") do dirpath
281+
282+
mktempdir(@__DIR__; prefix = "temp_") do dirpath
283283
modpath = joinpath(dirpath, "modtest.bson")
284284

285285
# 1. Save and check that variables entered workspace correctly
@@ -307,7 +307,7 @@ end
307307
## Test save and load behavior of cache function
308308
@testitem "cache save and load" begin
309309
using BSON, Dates
310-
mktempdir(@__DIR__; prefix="temp_") do dirpath
310+
mktempdir(@__DIR__; prefix = "temp_") do dirpath
311311
funcpath = joinpath(dirpath, "functest.bson")
312312

313313
# 1. Verify log messages for saving
@@ -376,11 +376,11 @@ end
376376
## Test cache in a module
377377
@testitem "cache in a module" begin
378378
using DataFrames
379-
379+
380380
module MyCacheModule
381381
using CacheVariables, Test, DataFrames
382-
383-
mktempdir(@__DIR__; prefix="temp_") do dirpath
382+
383+
mktempdir(@__DIR__; prefix = "temp_") do dirpath
384384
modpath = joinpath(dirpath, "funcmodtest.bson")
385385

386386
# 1. Save and check the output

0 commit comments

Comments
 (0)