Skip to content

Commit 154fefc

Browse files
committed
now Pkg.test works for this package
1 parent a267080 commit 154fefc

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

test/parse.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ xb2 = XMLElement(rcs[4])
100100

101101
@test !has_attribute(xb2, "wrongattr")
102102
@test is(attribute(xb2, "wrongattr"), nothing)
103-
@test_throws attribute(xb2, "wrongattr"; required=true)
103+
@test_throws LightXML.XMLAttributeNotFound attribute(xb2, "wrongattr"; required=true)
104104

105105
rces = get_elements_by_tagname(xroot, "book")
106106
@test length(rces) == 2
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
tests = ["parse", "create", "cdata"]
22

33
for t in tests
4-
fpath = joinpath("test", "$t.jl")
4+
fpath = "$t.jl"
55
@printf("running %s ...\n", fpath)
66
include(fpath)
77
end

0 commit comments

Comments
 (0)