aboutsummaryrefslogtreecommitdiff
path: root/spec
diff options
context:
space:
mode:
Diffstat (limited to 'spec')
-rw-r--r--spec/inputs/test/advanced_macro_spec.yue2
-rw-r--r--spec/outputs/test/advanced_macro_spec.lua2
2 files changed, 2 insertions, 2 deletions
diff --git a/spec/inputs/test/advanced_macro_spec.yue b/spec/inputs/test/advanced_macro_spec.yue
index d88807f..9b9c4de 100644
--- a/spec/inputs/test/advanced_macro_spec.yue
+++ b/spec/inputs/test/advanced_macro_spec.yue
@@ -70,7 +70,7 @@ describe "advanced macro", ->
70 70
71 it "should work with builtin FILE macro", -> 71 it "should work with builtin FILE macro", ->
72 macro file_test = -> 72 macro file_test = ->
73 "$FILE" 73 "'#{$FILE}'"
74 74
75 result = $file_test 75 result = $file_test
76 assert.is_true type(result) == "string" 76 assert.is_true type(result) == "string"
diff --git a/spec/outputs/test/advanced_macro_spec.lua b/spec/outputs/test/advanced_macro_spec.lua
index 0a46978..12ea559 100644
--- a/spec/outputs/test/advanced_macro_spec.lua
+++ b/spec/outputs/test/advanced_macro_spec.lua
@@ -40,7 +40,7 @@ multiline_var = "test work"
40 return assert.same(result, 10) 40 return assert.same(result, 10)
41 end) 41 end)
42 it("should work with builtin FILE macro", function() 42 it("should work with builtin FILE macro", function()
43 local result = "./spec/inputs/test/advanced_macro_spec.yue" 43 local result = '=(macro file_test)'
44 return assert.is_true(type(result) == "string") 44 return assert.is_true(type(result) == "string")
45 end) 45 end)
46 it("should work with builtin LINE macro", function() 46 it("should work with builtin LINE macro", function()