diff options
-rwxr-xr-x | test/functional/examples.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/functional/examples.rb b/test/functional/examples.rb index d565fcc..8540ac9 100755 --- a/test/functional/examples.rb +++ b/test/functional/examples.rb @@ -34,8 +34,8 @@ end # output as standalone HTML page (using CSS classes) page = CodeRay.scan('puts "Hello, world!"', :ruby).page - assert page[<<-PAGE] -<body style="background-color: white;"> + assert_match <<-PAGE, page +<body> <table class="CodeRay"><tr> <td class="line-numbers" title="double click to toggle" ondblclick="with (this.firstChild.style) { display = (display == '') ? 'none' : '' }"><pre> |