diff options
author | Kornelius Kalnbach <murphy@rubychan.de> | 2011-10-19 22:35:14 +0200 |
---|---|---|
committer | Kornelius Kalnbach <murphy@rubychan.de> | 2011-10-19 22:35:14 +0200 |
commit | cd6b93ac6432af89769a2e649024699a29da589a (patch) | |
tree | 8616db12bdd24a1b8baedf74113d798d9c0212bf | |
parent | 687b80ecaa3c8f18bc5c11694df790dfc3994825 (diff) | |
download | coderay-cd6b93ac6432af89769a2e649024699a29da589a.tar.gz |
fix testv1.0.1
-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> |