Skip to content

Commit

Permalink
Clean up test.xml, and remove saxParser require
Browse files Browse the repository at this point in the history
<no random message>
  • Loading branch information
opussf committed Jan 30, 2024
1 parent 7f2832c commit eb52d54
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions test/test.lua
Original file line number Diff line number Diff line change
Expand Up @@ -1062,15 +1062,14 @@ function CreateFile( filename, contents )
return tocFile
end
function test.testTOC_()
CreateFile( "test.xml", "<Ui>\n<Frame name=\"topFrame\"></Ui>\n" )
CreateFile( "test.xml", "<Ui>\n<Frame name=\"topFrame\"></Frame></Ui>\n" )
CreateFile( "test.lua", "print(\"hi\")\n")
generatedFile = CreateFile( "test.toc", "test.lua\ntest.xml\n" )
ParseTOC( generatedFile )
end


----- Sax tests
require "saxParser"
function test.before_testContentHandler()
originalContentHandler = {}
for k,v in pairs( contentHandler ) do
Expand Down

0 comments on commit eb52d54

Please sign in to comment.