From 7f17b6f6f3d4a1203823588784c6d1d992687535 Mon Sep 17 00:00:00 2001 From: aminya Date: Sun, 9 Feb 2020 22:50:20 -0600 Subject: [PATCH] Fix tests --- test/runtests.jl | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/test/runtests.jl b/test/runtests.jl index 9cf40a5..3b8621d 100644 --- a/test/runtests.jl +++ b/test/runtests.jl @@ -1301,10 +1301,10 @@ end @testset "Misc" begin @testset "show" begin doc = parsexml("""""") - @test occursin(r"^EzXML.Node\(\)$", repr(doc.node)) - @test occursin(r"^EzXML.Node\(\)$", repr(root(doc))) - @test occursin(r"^EzXML.Node\(\)$", repr(attributes(root(doc))[1])) - @test occursin(r"^EzXML.Document\(EzXML.Node\(\)\)$", repr(doc)) + @test occursin(r"^EzXML.Node\(\)$", repr(doc.node)) + @test occursin(r"^EzXML.Node\(\)$", repr(root(doc))) + @test occursin(r"^EzXML.Node\(\)$", repr(attributes(root(doc))[1])) + @test occursin(r"^EzXML.Document\(EzXML.Node\(\)\)$", repr(doc)) sample2 = joinpath(dirname(@__FILE__), "sample2.xml") reader = open(EzXML.StreamReader, sample2)