We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 687b80e commit cd6b93aCopy full SHA for cd6b93a
test/functional/examples.rb
@@ -34,8 +34,8 @@ def test_examples
34
35
# output as standalone HTML page (using CSS classes)
36
page = CodeRay.scan('puts "Hello, world!"', :ruby).page
37
- assert page[<<-PAGE]
38
-<body style="background-color: white;">
+ assert_match <<-PAGE, page
+<body>
39
40
<table class="CodeRay"><tr>
41
<td class="line-numbers" title="double click to toggle" ondblclick="with (this.firstChild.style) { display = (display == '') ? 'none' : '' }"><pre>
0 commit comments