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()
246
246
it (" non-special case variable (php cursor-on-name)" , function ()
247
247
debugprint .setup ()
248
248
249
- local filename = support .init_file ({
249
+ support .init_file ({
250
250
" <?php" ,
251
251
" $branchCode = 'au';" ,
252
252
" ?>" ,
@@ -258,8 +258,8 @@ describe("can handle treesitter identifiers", function()
258
258
" <?php" ,
259
259
" $branchCode = 'au';" ,
260
260
' fwrite(STDERR, "DEBUGPRINT[1]: '
261
- .. filename
262
- .. ' :2: branchCode=$branchCode\\ n");' ,
261
+ .. ' " . __FILE__ . ":" . __LINE__ . " '
262
+ .. ' : branchCode=$branchCode\\ n");' ,
263
263
" ?>" ,
264
264
})
265
265
@@ -271,7 +271,7 @@ describe("can handle treesitter identifiers", function()
271
271
it (" non-special case variable (php cursor-on-dollar)" , function ()
272
272
debugprint .setup ()
273
273
274
- local filename = support .init_file ({
274
+ support .init_file ({
275
275
" <?php" ,
276
276
" $branchCode = 'au';" ,
277
277
" ?>" ,
@@ -283,8 +283,8 @@ describe("can handle treesitter identifiers", function()
283
283
" <?php" ,
284
284
" $branchCode = 'au';" ,
285
285
' fwrite(STDERR, "DEBUGPRINT[1]: '
286
- .. filename
287
- .. ' :2: branchCode=$branchCode\\ n");' ,
286
+ .. ' " . __FILE__ . ":" . __LINE__ . " '
287
+ .. ' : branchCode=$branchCode\\ n");' ,
288
288
" ?>" ,
289
289
})
290
290
You can’t perform that action at this time.
0 commit comments