Skip to content

Commit c762d3c

Browse files
committed
add a test that passes an encoding
1 parent 1b55588 commit c762d3c

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

test/parse.jl

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,8 @@ docstr = """
2323

2424
for xdoc = (parse_string(docstr),
2525
parse_file(joinpath(dirname(@__FILE__), "ex1.xml")),
26-
parse_file(joinpath(dirname(@__FILE__), "ex1.xml"), C_NULL, 64)) # 64 == XML_PARSE_NOWARNING
26+
parse_file(joinpath(dirname(@__FILE__), "ex1.xml"), C_NULL, 64), # 64 == XML_PARSE_NOWARNING
27+
parse_file(joinpath(dirname(@__FILE__), "ex1.xml"), "UTF-8", 64))
2728

2829
@test version(xdoc) == "1.0"
2930
@test encoding(xdoc) == "UTF-8"

0 commit comments

Comments
 (0)