Skip to content

Commit cd6b93a

Browse files
committed
fix test
1 parent 687b80e commit cd6b93a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/functional/examples.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,8 @@ def test_examples
3434

3535
# output as standalone HTML page (using CSS classes)
3636
page = CodeRay.scan('puts "Hello, world!"', :ruby).page
37-
assert page[<<-PAGE]
38-
<body style="background-color: white;">
37+
assert_match <<-PAGE, page
38+
<body>
3939
4040
<table class="CodeRay"><tr>
4141
<td class="line-numbers" title="double click to toggle" ondblclick="with (this.firstChild.style) { display = (display == '') ? 'none' : '' }"><pre>

0 commit comments

Comments
 (0)