diff options
author | Hisham Muhammad <hisham@gobolinux.org> | 2018-04-02 13:11:33 -0300 |
---|---|---|
committer | Hisham Muhammad <hisham@gobolinux.org> | 2018-04-02 13:11:33 -0300 |
commit | 433e9cab5808d734ce63a5a5c5898bfc112d292e (patch) | |
tree | 6777191d1c7896c8eaed0713f6833d06fb93a73c /spec/fixtures/with_dep.lua | |
parent | 97bee65c4a8575f3756d85d6db9748a390ee864b (diff) | |
download | luarocks-433e9cab5808d734ce63a5a5c5898bfc112d292e.tar.gz luarocks-433e9cab5808d734ce63a5a5c5898bfc112d292e.tar.bz2 luarocks-433e9cab5808d734ce63a5a5c5898bfc112d292e.zip |
Tests: add missing fixtures
Diffstat (limited to '')
-rw-r--r-- | spec/fixtures/with_dep.lua | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/spec/fixtures/with_dep.lua b/spec/fixtures/with_dep.lua new file mode 100644 index 00000000..ad7e462a --- /dev/null +++ b/spec/fixtures/with_dep.lua | |||
@@ -0,0 +1,6 @@ | |||
1 | local pok, with_external_dep = pcall(require, "with_external_dep") | ||
2 | if pok then | ||
3 | print(with_external_dep.foo) | ||
4 | else | ||
5 | print(100) | ||
6 | end | ||