File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed
Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -246,7 +246,7 @@ describe("can handle treesitter identifiers", function()
246246 it (" non-special case variable (php cursor-on-name)" , function ()
247247 debugprint .setup ()
248248
249- local filename = support .init_file ({
249+ support .init_file ({
250250 " <?php" ,
251251 " $branchCode = 'au';" ,
252252 " ?>" ,
@@ -258,8 +258,8 @@ describe("can handle treesitter identifiers", function()
258258 " <?php" ,
259259 " $branchCode = 'au';" ,
260260 ' fwrite(STDERR, "DEBUGPRINT[1]: '
261- .. filename
262- .. ' :2: branchCode=$branchCode\\ n");' ,
261+ .. ' " . __FILE__ . ":" . __LINE__ . " '
262+ .. ' : branchCode=$branchCode\\ n");' ,
263263 " ?>" ,
264264 })
265265
@@ -271,7 +271,7 @@ describe("can handle treesitter identifiers", function()
271271 it (" non-special case variable (php cursor-on-dollar)" , function ()
272272 debugprint .setup ()
273273
274- local filename = support .init_file ({
274+ support .init_file ({
275275 " <?php" ,
276276 " $branchCode = 'au';" ,
277277 " ?>" ,
@@ -283,8 +283,8 @@ describe("can handle treesitter identifiers", function()
283283 " <?php" ,
284284 " $branchCode = 'au';" ,
285285 ' fwrite(STDERR, "DEBUGPRINT[1]: '
286- .. filename
287- .. ' :2: branchCode=$branchCode\\ n");' ,
286+ .. ' " . __FILE__ . ":" . __LINE__ . " '
287+ .. ' : branchCode=$branchCode\\ n");' ,
288288 " ?>" ,
289289 })
290290
You can’t perform that action at this time.
0 commit comments