@@ -98,7 +98,7 @@ describe('Capture template', function()
9898 local template = Template :new ({
9999 template = ' * TODO %^g' ,
100100 })
101- assert .are .same ({ ' * TODO mytag' }, template :compile ():wait ())
101+ assert .are .same ({ ' * TODO : mytag: ' }, template :compile ():wait ())
102102 end )
103103 end )
104104
@@ -109,7 +109,7 @@ describe('Capture template', function()
109109 local template = Template :new ({
110110 template = ' * TODO %^G' ,
111111 })
112- assert .are .same ({ ' * TODO tag1:tag2' }, template :compile ():wait ())
112+ assert .are .same ({ ' * TODO : tag1:tag2: ' }, template :compile ():wait ())
113113 end )
114114 end )
115115
@@ -120,7 +120,7 @@ describe('Capture template', function()
120120 local template = Template :new ({
121121 template = ' * TODO %^{tag1|tag2}G' ,
122122 })
123- assert .are .same ({ ' * TODO tag1' }, template :compile ():wait ())
123+ assert .are .same ({ ' * TODO : tag1: ' }, template :compile ():wait ())
124124 end )
125125 end )
126126
@@ -160,7 +160,7 @@ describe('Capture template', function()
160160 template = ' * TODO %^g' ,
161161 target = files [' target.org' ],
162162 })
163- assert .are .same ({ ' * TODO target_headline' }, template :compile ():wait ())
163+ assert .are .same ({ ' * TODO : target_headline: ' }, template :compile ():wait ())
164164 end )
165165 end )
166166
@@ -188,7 +188,7 @@ describe('Capture template', function()
188188 local template = Template :new ({
189189 template = ' * TODO %^G' ,
190190 })
191- assert .are .same ({ ' * TODO target_headline:other_headline' }, template :compile ():wait ())
191+ assert .are .same ({ ' * TODO : target_headline:other_headline: ' }, template :compile ():wait ())
192192 end )
193193 end )
194194end )
0 commit comments