Skip to content

Running examle_mock.lua returns an error #7

@syedmhashim

Description

@syedmhashim

I just installed lua-resty-test using luarocks and tried running example_mock.lua. But it says in the output:
0.000 \_[test_00001] fail example_mock.lua:23: attempt to call method 'mock_run' (a nil value)
Why is that?

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