From 043d2a67c8895854415f575817e885e881e9fdaa Mon Sep 17 00:00:00 2001 From: murphy Date: Tue, 18 May 2010 05:47:52 +0000 Subject: Simplified example test: It broke every time the default stylesheet was changed. Now it's independent. --- test/functional/examples.rb | 136 +------------------------------------------- 1 file changed, 1 insertion(+), 135 deletions(-) (limited to 'test') diff --git a/test/functional/examples.rb b/test/functional/examples.rb index 25334c2..14f0aea 100755 --- a/test/functional/examples.rb +++ b/test/functional/examples.rb @@ -32,140 +32,7 @@ end # output as standalone HTML page (using CSS classes) page = CodeRay.scan('puts "Hello, world!"', :ruby).page - assert_equal <<-PAGE, page - - - - - CodeRay output - - + assert page[<<-PAGE] @@ -175,7 +42,6 @@ table.CodeRay td { padding: 2px 4px; vertical-align: top; }
- PAGE # keep scanned tokens for later use -- cgit v1.2.1