aboutsummaryrefslogtreecommitdiff
path: root/advtrains_interlocking/spec
diff options
context:
space:
mode:
authorY. Wang <yw05@forksworld.de>2022-10-24 13:51:03 +0200
committerY. Wang <yw05@forksworld.de>2023-03-23 20:06:02 +0100
commit30a0f862488a0cb67f9a8e2aecaf17797ad44a93 (patch)
tree3da8bae4f0bd0deefe471818b031e91b3bdc08a3 /advtrains_interlocking/spec
parent34405b8431b7c758988b56cc09d21d6de74b727b (diff)
downloadadvtrains-30a0f862488a0cb67f9a8e2aecaf17797ad44a93.tar.gz
advtrains-30a0f862488a0cb67f9a8e2aecaf17797ad44a93.tar.bz2
advtrains-30a0f862488a0cb67f9a8e2aecaf17797ad44a93.zip
Properly handle repeater signals
Diffstat (limited to 'advtrains_interlocking/spec')
-rw-r--r--advtrains_interlocking/spec/basic_signalling_spec.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/advtrains_interlocking/spec/basic_signalling_spec.lua b/advtrains_interlocking/spec/basic_signalling_spec.lua
index 0b79972..720b274 100644
--- a/advtrains_interlocking/spec/basic_signalling_spec.lua
+++ b/advtrains_interlocking/spec/basic_signalling_spec.lua
@@ -44,7 +44,7 @@ world.layout {
describe("API for supposed signal aspects", function()
it("should load and save data properly", function()
- local tbl = {_foo = true}
+ local tbl = {_foo = {}}
I.load_supposed_aspects(tbl)
assert.same(tbl, I.save_supposed_aspects())
end)