1
1
mirror of https://github.com/walles/moar.git synced 2024-09-11 12:15:43 +03:00
moar/m
Johan Walles ebba21a409 Dodge corner case issue
If call "highlight" on an empty file the output will have a line.

We don't really care about that.

This change renames empty.txt (which highlight wants to highlight) into
just "empty", which highlight will not try to highligt, so no line is
added and the test passes.
2019-07-15 18:49:25 +02:00
..
ansiTokenizer_test.go Add tokenizer tests 2019-07-15 13:34:42 +02:00
ansiTokenizer.go Add tokenizer tests 2019-07-15 13:34:42 +02:00
matchRanges_test.go Have the tokenizer provide an unformatted string as well 2019-06-30 15:06:33 +02:00
matchRanges.go Have the tokenizer provide an unformatted string as well 2019-06-30 15:06:33 +02:00
pager_test.go Fix concurrency issues in the tests... 2019-07-09 23:41:49 +02:00
pager.go Make first line read appear immediately 2019-07-15 07:08:04 +02:00
reader_test.go Dodge corner case issue 2019-07-15 18:49:25 +02:00
reader.go Don't highlight files with unsupported file extensions 2019-07-15 18:46:53 +02:00