@@ -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
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
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
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
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
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