Pārlūkot izejas kodu

docs: Mention `$BUFFER`

pull/298/head
Matthew Martin pirms 8 gadiem
vecāks
revīzija
19acd8e844
1 mainītis faili ar 2 papildinājumiem un 1 dzēšanām
  1. +2
    -1
      tests/README.md

+ 2
- 1
tests/README.md Parādīt failu

@ -7,7 +7,8 @@ The tests harness expects the highlighter directory to contain a `test-data`
directory with test data files.
See the [main highlighter](../highlighters/main/test-data) for examples.
Each test should define the array parameter `$expected_region_highlight`.
Each test should define the string `$BUFFER` that is to be highlighted and the
array parameter `$expected_region_highlight`.
The value of that parameter is a list of strings of the form `"$i $j $style"`.
or `"$i $j $style $todo"`.
Each string specifies the highlighting that `$BUFFER[$i,$j]` should have;

Notiek ielāde…
Atcelt
Saglabāt