summaryrefslogtreecommitdiff
path: root/test/reader_test.rb
AgeCommit message (Collapse)Author
2024-05-04resolves #4580 don't leave behind empty line inside skipped conditional (PR ↵Dan Allen
#4582)
2023-06-05resolves #4461 wrap target of link used in place of include directive in ↵Dan Allen
inline passthrough when it contains spaces (PR #4463)
2023-04-30resolves #3929 treat uri:classloader: as absolute path prefix when running ↵Dan Allen
on JRuby (PR #4444)
2023-04-16don't allow target of include directive to start or end with a spaceDan Allen
2022-10-24remove outdated workaround in test suite for JRuby heredoc bugDan Allen
2022-10-22resolves #4368 redo loop rather than using recursion to locate next line to ↵Dan Allen
process (PR #4372)
2022-10-14add include role to link/URL macro that replaces include directive when ↵Dan Allen
include is not enabled
2022-09-23resolves #4357 change internal uriish? to only detect a URI pattern at start ↵Dan Allen
of string (GHSL-2022-084) (PR #4358)
2022-07-24resolves #4315 warn if include target is remote and allow-uri-read attribute ↵Dan Allen
is not set (PR #4316)
2022-07-17use simpler form to assert logger has no messagesDan Allen
2022-07-17add missing assertion in test suiteDan Allen
2022-07-05resolves #4300 add support for TOML front matter to skip-front-matter ↵Abhinav Gupta
attribute (PR #4301)
2022-07-05fix lineno on reader when skip-front-matter attribute is set but end of ↵Dan Allen
front matter is not found
2022-03-01verify include directive is converted to link when target is remote and ↵Dan Allen
allow-uri-read is not set
2022-01-11don't overqualify types in test suiteDan Allen
2022-01-03resolves #4230 don't warn if a negated tag is not found in include file (PR ↵Dan Allen
#4233)
2021-12-23Fix typos and misspellings in docs and code (PR #4222)Kian Meng, Ang
2021-10-18rename default branchDan Allen
2021-07-31omit_parentheses where possible in test codeDan Allen
2021-06-26rework descriptions for tag filtering tests [skip ci]Dan Allen
2021-06-26fix descriptions of tests in reader_tests.rb [skip ci]Dan Allen
2021-06-21fix invalid indentation in test [skip ci]Dan Allen
2021-06-19resolves #4086 only interpret negated wildcard in include tag filter as ↵Dan Allen
implicit globstar if it precedes other tags (PR #4087)
2021-06-09remove irrelevant unassertions from test suiteDan Allen
- a test already fails if an exception is thrown
2021-06-05consistently use %w to create string arraysDan Allen
2021-05-31use assert_empty/refute_empty where possible in test suiteDan Allen
2021-05-28remove extra empty lines and empty blocks in test suiteDan Allen
2021-05-28favor single-line while loop in test suiteDan Allen
2021-05-27use single line for method definition in test suiteDan Allen
2021-05-27use octal for file mode in test suite [skip ci]Dan Allen
2021-05-06resolve #4046 change ifeval directive to resolve to false if comparison ↵Dan Allen
operation cannot be performed (PR #4047)
2021-05-05resolves #4048 include all lines outside specified tagged region when tag ↵Dan Allen
filter is a single negated tag (PR #4049)
2021-04-30leave empty line after magic comment [skip ci]Dan Allen
2021-04-09resolves #3997 rollback change for #3470; skip empty lines before processing ↵Dan Allen
document header instead (PR #4002)
2021-02-06verify tag filtering works if wildcards are not at head of listDan Allen
2021-02-05resolves #3932 honor list of tags following negated wildcard on include ↵Dan Allen
directive (PR #3933)
2021-02-04fix test on JRubyDan Allen
2021-02-04fix tests for current codeDan Allen
2021-02-04defer testDan Allen
2021-02-04add additional tests for include tagsDan Allen
2020-12-14fix code style [skip ci]Dan Allen
2020-12-14enable running tests as root (PR #3874)mikemckiernan
skip test that relies on access restriction
2020-11-09add if and unless conditions to tests to make filtering more readable (PR #3844)Dan Allen
- also define windows? as static method for these cases - don't match darwin when detecting Windows
2019-12-07resolves #3436 only strip trailing whitespace from lines of include file if ↵Dan Allen
target ends with an AsciiDoc file extension (PR #3439)
2019-12-06add test for invalid include rangeDan Allen
2019-10-01add test to verify BOM is stripped from include fileDan Allen
2019-09-30prevent trailing blank line when extracting lines from source dataDan Allen
2019-09-27resolves #3248 allow encoding of include file to be specified using encoding ↵Dan Allen
attribute (PR #3419)
2019-04-03Helpers.rootname should only consider final path segment when dropping file ↵Dan Allen
extension (PR #3235) - if final segment does not contain a dot, return original filename - optimize assignments in PreprocessorReader#push_include - add additional tests
2019-03-22use symbol blocks where appropriate in test suiteDan Allen