File: expose_file1.lua

package info (click to toggle)
lua-busted 2.3.0-1
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 820 kB
  • sloc: sh: 198; makefile: 2
file content (9 lines) | stat: -rw-r--r-- 296 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
expose('Tests expose from file root', function()
  pl = require 'pl'     --luacheck: ignore
  _G.global_var = 'this global is in _G'

  it('loads global environment with "List"', function()
    assert.is_not_nil(pl)  --luacheck: ignore
    assert.is_not_nil(List)  --luacheck: ignore
  end)
end)