neovim/test/functional/treesitter
luukvbaal e2a91876ac
test(screen): adjust screen state per stylua #31441
Before:
screen:expect({        | screen:expect({
  grid = [[            |   grid = [[
    {10:>!}a        |  |     line ^1                   |
    {7:  }b        |   |     {1:~                        }|*4
    {10:>>}c        |  |   ]], messages={ {
    {7:  }^         |  |     content = { { "\ntest\n[O]k: ", 6, 11 } },
    {1:~          }|*9 |     kind = "confirm"
               |       |   } }
  ]]                   | })
})

After:
screen:expect([[         | screen:expect({
  {10:>!}a            |  |   grid = [[
  {7:  }b            |   |     line ^1                   |
  {10:>>}c            |  |     {1:~                        }|*4
  {7:  }^             |  |   ]],
  {1:~              }|*9 |   messages = { {
                 |       |     content = { { "\ntest\n[O]k: ", 6, 11 } },
]])                      |     kind = "confirm"
                         |   } },
                         | })
2024-12-04 07:31:08 -08:00
..
fold_spec.lua fix(tests): needing two calls to setup a screen is cringe 2024-11-14 12:40:57 +01:00
highlight_spec.lua test(screen): adjust screen state per stylua #31441 2024-12-04 07:31:08 -08:00
inspect_tree_spec.lua test: support upvalues in exec_lua 2024-09-21 16:04:09 +01:00
language_spec.lua fix(treesitter): mark supertype nodes as named 2024-10-12 09:59:44 +02:00
node_spec.lua feat(treesitter): introduce child_with_descendant() 2024-10-11 17:29:45 +02:00
parser_spec.lua fix(treesitter): remove duplicate symbol names in language.inspect() 2024-10-11 18:15:07 +02:00
query_spec.lua fix(treesitter): show proper node name error messages 2024-11-13 13:32:58 +01:00
utils_spec.lua perf(treesitter): use child_containing_descendant() in is_ancestor() 2024-09-25 23:01:08 +02:00