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

Commit 03e82aa

Browse files
Fix ide test failure (#2013)
* [TESTS] Ensure Start Center closes when opening a test stack * Fix ide test failure * Reverted unneeded change in _testrunner.livecodescript
1 parent a9e3794 commit 03e82aa

2 files changed

Lines changed: 6 additions & 1 deletion

File tree

-40.2 KB
Binary file not shown.

Toolset/palettes/start center/revStartCenterBehavior.livecodescript

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,8 +100,13 @@ on ideOpenStack pTarget
100100
put revIDEGetAllPlugins() into tPlugins
101101

102102
repeat for each line tLine in tPlugins
103+
local tSubstacks
104+
if tLine ends with ".livecode" or tLine ends with ".livecodescript" or \
105+
tLine ends with ".rev" then
106+
put the substacks of stack tLine into tSubstacks
107+
end if
103108
if tLine is the filename of stack tTargetStack OR \
104-
the substacks of stack tLine contains tTargetStack then
109+
tSubstacks contains tTargetStack then
105110
exit ideOpenStack
106111
end if
107112
end repeat

0 commit comments

Comments
 (0)