summaryrefslogtreecommitdiff
path: root/test/invoker_test.rb
AgeCommit message (Collapse)Author
2024-02-19resolves #4550 turn off system-dependent newline conversion when writing ↵Dan Allen
files (PR #4551)
2023-04-08resolves #4429 add support for Haml 6 to template converter (PR #4431)Dan Allen
2022-07-09fix Asciidoctor::Cli::Invoker constructor when first argument is a hashDan Allen
2022-01-11don't overqualify types in test suiteDan Allen
2022-01-02change "show the backtrace" to "show backtrace" in CLI hintDan Allen
2021-12-24change "for backtrack" to "to show the backtrace"Dan Allen
2021-11-07update RuboCop and add new rules to configDan Allen
2021-11-01resolves #3868 add --log-level option to CLI to control log level (PR #4198)Dan Allen
2021-10-27exclude invoker test that asserts on stderr from running on JRuby for WindowsDan Allen
2021-10-26fix syntax error in test suiteDan Allen
2021-10-26exclude invoker test that asserts on stderr from running on JRuby 9.1 for ↵Dan Allen
Windows
2021-10-26fix test assertion in invoker test on JRubyDan Allen
2021-10-26fix lint errorDan Allen
2021-10-26verify behavior when --trace CLI option is setDan Allen
2021-10-26add test to verify CLI suggests --trace option if not present when program ↵Dan Allen
raises error
2021-08-28resolves #3569 add sourcemap option to the CLI (PR #3568)hackingotter
2021-07-31omit_parentheses where possible in test codeDan Allen
2021-07-31resolves #2557 enable RuboCop to enforce a consistent code style and perform ↵Dan Allen
static analysis
2021-06-08fix rescue swallowing test assertion in invoker test [skip ci]Dan Allen
2021-05-31use assert_empty/refute_empty where possible in test suiteDan Allen
2021-05-31use assert_path_exists where possible in test suiteDan Allen
2021-05-27use do..end style for block in test suiteDan Allen
2021-05-27disable interpolation in test suite when not needed [skip ci]Dan Allen
2021-05-27remove or mark unused block arguments in test suite; fix missing logger ↵Dan Allen
assertions
2021-05-27remove excess spaces before value of Hash entry in test suite [skip ci]Dan Allen
2021-05-25use single-quoted strings where possible in test suiteDan Allen
2021-05-25remove trailing spaces in test suite [skip ci]Dan Allen
2021-05-03use -e in CLI tests instead of -s; include tests that verify the legacy aliasDan Allen
2021-04-30leave empty line after magic comment [skip ci]Dan Allen
2021-04-27fix invoker tests that use run_command on JRuby 9.1 for Windows (PR #4042)Dan Allen
2021-04-15resolves #3550 run tests on JRuby for Windows in CI (PR #3841)Dan Allen
* run tests on JRuby 9.1 and 9.2 for Windows in CI * don't run Pygments tests on JRuby 9.1 for Windows * exclude tests that use run_command on JRuby 9.1 for Windows * ensure mtime of input file honors TZ environment variable on JRuby for Windows
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
2020-08-20resolves #3737 add support for erubi template engine; use it in place of ↵Dan Allen
erubis in test suite (PR #3738)
2020-02-19disable bundler in the pure CLI tests (PR #3577)Dan Allen
- switch to array-based arguments to prevent the command from being modified - disable the RUBYOPT environment variable unless the use_bundler option is enabled
2020-01-13implement cleaner way to ignore SOURCE_DATE_EPOCHDan Allen
2020-01-12fix source date epoch tests in Ruby 2.7Dan Allen
2019-08-25upgrade truffleruby to 19.2.0; enable in nightly job (PR #3305)Guillaume Grossetie
* upgrade truffleruby to 19.2.0 * run TruffleRuby only when the build was triggered by cron * use Haml version 4 when running on TruffleRuby (because version 5 is using Ripper which is unsupported)
2019-04-04resolves #3238 don't fail to load application if call to Dir.home fails (PR ↵Dan Allen
#3239)
2019-04-01use IO.popen with env argument in test suite (PR #3229)Dan Allen
2019-04-01resolves #3225 mark encoding of stdio objects used in CLI as UTF-8 (PR #3228)Dan Allen
2019-04-01resolves #3226 CLI should use $stdin instead of STDIN (PR #3227)Dan Allen
2019-03-29use file read mode in test suiteDan Allen
2019-03-22use symbol blocks where appropriate in test suiteDan Allen
2019-03-14resolves #1444 rename header_footer option to standalone (PR #3146)Dan Allen
* still honor header_footer option as fallback for backwards compatibility
2019-03-11initialize the level to WARN when instantiating the NullLoggerDan Allen
2019-02-10resolves #3054 never mutate strings; add `frozen_string_literal: true` ↵Dan Allen
comment to source files (PR #3055) - replace gsub! and sub! with gsub and sub, respectively - add `frozen_string_literal: true` magic comment to all Ruby source files - see https://www.mikeperham.com/2018/02/28/ruby-optimization-with-one-magic-comment/
2019-02-09resolves #3030 separate the -v and -w CLI flagsDan Allen
- use -v to set logger level to debug - use -w to enable pedantic Ruby warnings (aka $VERBOSE = true)
2019-02-05remove process workaround for JRuby [skip ci]Dan Allen
2019-02-05resolves #3005 remove the converter for the docbook45 backend (PR #3040)Dan Allen
- remove the DocBook45Converter class - remove accomodations in DocBook5Converter for DocBook 4.5 - don't register the docbook45 backend name in the converter registry - drop docbook45 from the backend CLI option values - don't mention DocBook 4.5 in the man page - don't mention DocBook 4.5 in the CLI usage statement - update tests to use DocBook 5 instead of DocBook 4.5
2019-02-02use indented (squiggly) heredoc strings in invoker_test and logger_testDan Allen