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

Commit 0b492d5

Browse files
authored
Merge pull request #1862 from livecode/bugfix-ide_tests
[[ Bug ]] Fix ide tests
2 parents 4331e53 + 9890ac5 commit 0b492d5

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

Toolset/libraries/revidelibrary.8.livecodescript

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6508,7 +6508,7 @@ command revIDESetImageFilename pObjectID, pProperty, pFilename
65086508
if tStackPath is not empty then
65096509
put revCalculateRelativePath(tStackPath, pFilename) into tFilePath
65106510
if tFilePath begins with "./" then delete char 1 to 2 of tFilePath
6511-
if tFilePath ends with tResult then
6511+
if tFilePath ends with pFilename then
65126512
--full path contained in relative path, likely a different volume
65136513
--in any case, need to return absolute path
65146514
else if there is a file (tStackPath & slash & tFilePath) then

tests/core/scriptstatus.livecodescript

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ on TestExplicitVariables
2727
local tStackFiles
2828
put the stackFiles of stack "home" into tStackFiles
2929
split tStackFiles by comma and return
30-
repeat for each key tStackName in tStackFiles
30+
repeat for each element tStackName in tStackFiles
3131
if there is a stack tStackName then
3232
__RecursiveTest the long id of stack tStackName
3333
end if

0 commit comments

Comments
 (0)