File tree 1 file changed +4
-5
lines changed 1 file changed +4
-5
lines changed Original file line number Diff line number Diff line change @@ -162,14 +162,13 @@ function test_reference(
162
162
""" reference = reference_path actual = actual_path
163
163
164
164
if ! isinteractive () && ! force_update ()
165
- error ( """
165
+ @info """
166
166
To update the reference images either run the tests interactively with 'include(\" test/runtests.jl\" )',
167
167
or to force-update all failing reference images set the environment variable `JULIA_REFERENCETESTS_UPDATE`
168
168
to "true" and re-run the tests via Pkg.
169
- """ )
170
- end
171
-
172
- if force_update () || input_bool (" Replace reference with actual result?" )
169
+ """
170
+ @test false
171
+ elseif force_update () || input_bool (" Replace reference with actual result?" )
173
172
mv (actual_path, reference_path; force= true ) # overwrite old file it
174
173
@info " Please run the tests again for any changes to take effect"
175
174
else
You can’t perform that action at this time.
0 commit comments