aboutsummaryrefslogtreecommitdiff
path: root/spec/fixtures/with_dep.lua
diff options
context:
space:
mode:
Diffstat (limited to 'spec/fixtures/with_dep.lua')
-rw-r--r--spec/fixtures/with_dep.lua6
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 @@
1local pok, with_external_dep = pcall(require, "with_external_dep")
2if pok then
3 print(with_external_dep.foo)
4else
5 print(100)
6end