File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -938,6 +938,12 @@ local function collect_warnings(chunk)
938938end
939939
940940function TestXMLSAXParser .test_warning ()
941+ if jit .os ~= " Linux" then
942+ -- parser.warning doesn't work because warningSAXFunc accepts
943+ -- variable length arguments.
944+ return
945+ end
946+
941947 local xml = [[
942948<?xml version="1.0"?>
943949<?xmlo ?>
@@ -1029,12 +1035,6 @@ local function collect_xml_errors(chunk)
10291035end
10301036
10311037function TestXMLSAXParser .test_xml_structured_error ()
1032- if jit .os ~= " Linux" then
1033- -- parser.warning doesn't work because warningSAXFunc accepts
1034- -- variable length arguments.
1035- return
1036- end
1037-
10381038 local xml = [[
10391039<?xml version="1.0"?>
10401040<id>&aaa;</id>
You can’t perform that action at this time.
0 commit comments