diff options
| author | Dan Allen <dan.j.allen@gmail.com> | 2021-04-15 04:39:55 -0600 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-04-15 04:39:55 -0600 |
| commit | 6ce59d10651434a625cfbbd819611b8c8d932b50 (patch) | |
| tree | 14f3149efab06c010e1a79d414997ebf38ff0e0e /test/syntax_highlighter_test.rb | |
| parent | d7bf59fec1d0ec65fd24bf0ea02d4f31234b5046 (diff) | |
resolves #3550 run tests on JRuby for Windows in CI (PR #3841)
* 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
Diffstat (limited to 'test/syntax_highlighter_test.rb')
| -rw-r--r-- | test/syntax_highlighter_test.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/syntax_highlighter_test.rb b/test/syntax_highlighter_test.rb index 01a6d438..38027bc9 100644 --- a/test/syntax_highlighter_test.rb +++ b/test/syntax_highlighter_test.rb @@ -1095,7 +1095,7 @@ context 'Syntax Highlighter' do assert_includes css, 'background-color: #49483e;' end - test 'should not fail to load rouge if the Asciidoctor module is included into the global namespace' do + test 'should not fail to load rouge if the Asciidoctor module is included into the global namespace', unless: jruby_9_1_windows? do result = run_command(asciidoctor_cmd, '-r', (fixture_path 'include-asciidoctor.rb'), '-s', '-o', '-', '-a', 'source-highlighter=rouge', (fixture_path 'source-block.adoc'), use_bundler: true) {|out| out.read } assert_xpath '//pre[@class="rouge highlight"]', result, 1 end |
