diff options
| author | dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> | 2023-04-19 11:05:11 +0300 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-04-19 11:05:11 +0300 |
| commit | f06d2caa534479d1bf73c77d061dafa13f12949e (patch) | |
| tree | bcd49d0a03adcee69e8d15117340f2edd2002cbc /spec | |
| parent | 807519c660f89a2313ab14716984357bad2fd73c (diff) | |
Update pygments.rb requirement from ~> 2.3.0 to ~> 2.4.0 (#440)magentastripe-20240607
* Update pygments.rb requirement from ~> 2.3.0 to ~> 2.4.0
Updates the requirements on [pygments.rb](https://github.com/pygments/pygments.rb) to permit the latest version.
- [Release notes](https://github.com/pygments/pygments.rb/releases)
- [Changelog](https://github.com/pygments/pygments.rb/blob/master/CHANGELOG.adoc)
- [Commits](https://github.com/pygments/pygments.rb/compare/v2.3.0...v2.4.0)
---
updated-dependencies:
- dependency-name: pygments.rb
dependency-type: direct:development
...
Signed-off-by: dependabot[bot] <support@github.com>
* Fix tests
---------
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Marat Radchenko <marat@slonopotamus.org>
Diffstat (limited to 'spec')
| -rw-r--r-- | spec/highlight_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/highlight_spec.rb b/spec/highlight_spec.rb index 89508c4..2282fde 100644 --- a/spec/highlight_spec.rb +++ b/spec/highlight_spec.rb @@ -21,7 +21,7 @@ describe 'Asciidoctor::Epub3::Converter - Highlight' do article = book.item_by_href 'source_highlight.xhtml' expect(article).not_to be_nil if Asciidoctor::Document.supports_syntax_highlighter? - expect(article.content).to include '<span class="tok-k">class</span> <span class="tok-nc">Foo</span>' + expect(article.content).to include '<span class="tok-nc">Foo</span>' expect(article.content).to include '<link rel="stylesheet" href="./pygments-bw.css"/>' expect(book.item_by_href('pygments-bw.css')).not_to be_nil else |
