aboutsummaryrefslogtreecommitdiff
path: root/test/functional/example_spec.lua
diff options
context:
space:
mode:
Diffstat (limited to 'test/functional/example_spec.lua')
-rw-r--r--test/functional/example_spec.lua6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/functional/example_spec.lua b/test/functional/example_spec.lua
index 5e2590542b..5fc55f4aab 100644
--- a/test/functional/example_spec.lua
+++ b/test/functional/example_spec.lua
@@ -62,10 +62,10 @@ describe('example', function()
-- Use screen:expect{condition=…} to check the result.
screen:expect {
condition = function()
- eq({ id = 2 }, event_curtab)
+ eq(2, event_curtab)
eq({
- { tab = { id = 1 }, name = '[No Name]' },
- { tab = { id = 2 }, name = 'foo' },
+ { tab = 1, name = '[No Name]' },
+ { tab = 2, name = 'foo' },
}, event_tabs)
end,
}