Remove .txt suffix from reference test files
This commit is contained in:
parent
3b9714c8a8
commit
12fcc121fa
@ -9,8 +9,7 @@ function test_all(pkg::AbstractString; kwargs...)
|
||||
with_pkg(t, pkg) do pkg
|
||||
pkg_dir = joinpath(t.dir, pkg)
|
||||
foreach(readlines(`git -C $pkg_dir ls-files`)) do f
|
||||
# All fixture files are .txt so that ReferenceTests can handle them.
|
||||
reference = joinpath(@__DIR__, "fixtures", pkg, f * ".txt")
|
||||
reference = joinpath(@__DIR__, "fixtures", pkg, f)
|
||||
observed = read(joinpath(pkg_dir, f), String)
|
||||
@test_reference reference observed
|
||||
end
|
||||
|
Loading…
Reference in New Issue
Block a user