Skip to content
This repository was archived by the owner on Aug 31, 2021. It is now read-only.

Commit 74b0bb0

Browse files
committed
[[ Tests ]] Load extension only if not loaded
1 parent d1f24ac commit 74b0bb0

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

tests/_testlib.livecodescript

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -307,6 +307,10 @@ function TestGetExtractedDocsFolder
307307
end TestGetExtractedDocsFolder
308308

309309
on TestLoadExtension pName
310+
if pName is among the lines of the loadedExtensions then
311+
return empty
312+
end if
313+
310314
set the itemdelimiter to "."
311315
local tExtensionUnzipFolder
312316
put pName into tExtensionUnzipFolder

0 commit comments

Comments
 (0)