diff options
Diffstat (limited to 'spec/fixtures/with_dep.lua')
-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 | ||