File: expose_file1.lua

package info (click to toggle)
lua-busted 2.0~rc12-1-2
  • links: PTS, VCS
  • area: main
  • in suites: buster, stretch
  • size: 656 kB
  • ctags: 310
  • sloc: sh: 191; makefile: 6
file content (9 lines) | stat: -rw-r--r-- 233 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
expose('Tests expose from file root', function()
  pl = require 'pl'
  _G.global_var = 'this global is in _G'

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