summaryrefslogtreecommitdiff
path: root/test/basic
diff options
context:
space:
mode:
Diffstat (limited to 'test/basic')
-rw-r--r--test/basic/linker.lua5
1 files changed, 3 insertions, 2 deletions
diff --git a/test/basic/linker.lua b/test/basic/linker.lua
index c4655191..d5525c40 100644
--- a/test/basic/linker.lua
+++ b/test/basic/linker.lua
@@ -38,7 +38,9 @@ local function TEST(script)
local source = getSource(pos)
assert(source)
linker.compileLinks(source)
- local result = linker.getLink(source)
+ local result = {
+ id = linker.getID(source),
+ }
expect['id'] = expect['id']:gsub('|', '\x1F')
@@ -127,7 +129,6 @@ function f()
end
]] {
id = 'g:"X"',
- freturn = 1,
}
TEST [[