diff options
| author | Dan Allen <dan.j.allen@gmail.com> | 2020-07-17 15:29:10 -0600 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-07-17 15:29:10 -0600 |
| commit | 167ac6bc6ee9cdf139581b19836a4a17007ee8e5 (patch) | |
| tree | 34b278dd6b0c63eb57b099fb1b92a90183894799 /test/syntax_highlighter_test.rb | |
| parent | feb99820cbbfdb1c7cb3f14067a73ec9358d2306 (diff) | |
resolves #3503 move style tag for client-side syntax highlighers (highlight.js, prettify) into head (PR #3718)
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 d771564c..b80f9469 100644 --- a/test/syntax_highlighter_test.rb +++ b/test/syntax_highlighter_test.rb @@ -577,7 +577,7 @@ context 'Syntax Highlighter' do assert_css 'pre.highlightjs.highlight', output, 1 assert_css 'pre.highlightjs.highlight > code.language-html.hljs[data-lang="html"]', output, 1 assert_includes output, '<p>Highlight me!</p>' - assert_css '#footer ~ link[href*="highlight.js"]', output, 1 + assert_css 'head > link[href*="highlight.js"]', output, 1 assert_css '#footer ~ script[src*="highlight.min.js"]', output, 1 assert_xpath '//script[text()="hljs.initHighlighting()"]', output, 1 end |
