From 4c048f6fd2865b340610e1863cc7e31cf22df357 Mon Sep 17 00:00:00 2001 From: Dan Stillman Date: Mon, 18 Jan 2021 03:52:00 -0500 Subject: [PATCH] Relax HTML checking in SingleFile tests Somehow the saved page starts with "" instead of "" on GitHub Actions --- test/tests/attachmentsTest.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/test/tests/attachmentsTest.js b/test/tests/attachmentsTest.js index aadf70793d..98e2665ad4 100644 --- a/test/tests/attachmentsTest.js +++ b/test/tests/attachmentsTest.js @@ -362,7 +362,7 @@ describe("Zotero.Attachments", function() { let path = OS.Path.join(storageDir, 'index.html'); assert.isTrue(await OS.File.exists(path)); let contents = await Zotero.File.getContentsAsync(path); - assert.isTrue(contents.startsWith("