Skip to content

Source library execution failed #757

Description

@xuhuanzy

my execution steps

  1. git clone
  2. luarocks remove busted --force
  3. luarocks make
  4. busted --coverage --lpath="" --cpath="" --output=gtest -Xoutput --color
[  FAILED  ] 1 test, listed below:
[  FAILED  ] spec\insulate-expose_spec.lua:6: Isolation from Busted in normal blocks
[  ERROR   ] 2 errors, listed below:
[  ERROR   ] spec\insulate-expose_spec.lua:10: Isolation from Busted in insulated blocks
[  ERROR   ] spec\insulate-expose_spec.lua:14: Isolation from Busted in exposed blocks
describe('Isolation from Busted', function()
  it('in normal blocks', function()
    assert.is_nil(package.loaded['pl.path'])
  end)

  insulate('in insulated blocks', function()
    assert.is_nil(package.loaded['pl.path'])
  end)

  expose('in exposed blocks', function()
    assert.is_nil(package.loaded['pl.path'])
  end)
end)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions