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

Commit a02b2b4

Browse files
committed
[[ ScriptExtensions ]] Ensure test stacks pass revLoadLibrary when appropriate
1 parent 8c3fe2d commit a02b2b4

File tree

3 files changed

+10
-1
lines changed

3 files changed

+10
-1
lines changed

tests/_inputlib.livecodescript

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,9 @@ You should have received a copy of the GNU General Public License
1717
along with LiveCode. If not see <http://www.gnu.org/licenses/>. */
1818

1919
on revLoadLibrary
20+
if the target is not me then
21+
pass revLoadLibrary
22+
end if
2023
insert the script of me into back
2124
end revLoadLibrary
2225

tests/_testerlib.livecodescript

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,10 @@ test runner implementations.
2222
*/
2323

2424
on revLoadLibrary
25-
insert the script of me into back
25+
if the target is not me then
26+
pass revLoadLibrary
27+
end if
28+
insert the script of me into back
2629
end revLoadLibrary
2730

2831
local sLogCallbackURL

tests/_testlib.livecodescript

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,9 @@ You should have received a copy of the GNU General Public License
1717
along with LiveCode. If not see <http://www.gnu.org/licenses/>. */
1818

1919
on revLoadLibrary
20+
if the target is not me then
21+
pass revLoadLibrary
22+
end if
2023
insert the script of me into back
2124
set the lockErrorDialogs to true
2225
end revLoadLibrary

0 commit comments

Comments
 (0)