mirror of
https://github.com/lightpanda-io/browser.git
synced 2025-10-29 23:23:28 +00:00
remove manual test parser.init
This commit is contained in:
@@ -121,7 +121,6 @@ const TestContext = struct {
|
||||
if (opts.html) |html| {
|
||||
if (bc.session_id == null) bc.session_id = "SID-X";
|
||||
parser.deinit();
|
||||
try parser.init();
|
||||
const page = try bc.session.createPage();
|
||||
page.doc = (try Document.init(html)).doc;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user