@@ -10,13 +10,13 @@ def test_json_output
1010 $:. delete File . dirname ( __FILE__ )
1111json = CodeRay . scan ( 'puts "Hello world!"' , :ruby ) . json
1212assert_equal [
13- { "type" => "text" , "text" => "puts" , "kind" => "ident" } ,
14- { "type" => "text" , "text" => " " , "kind" => "space" } ,
15- { "type" => "block" , "action" => "open" , "kind" => "string" } ,
16- { "type" => "text" , "text" => "\" " , "kind" => "delimiter" } ,
17- { "type" => "text" , "text" => "Hello world!" , "kind" => "content" } ,
18- { "type" => "text" , "text" => "\" " , "kind" => "delimiter" } ,
19- { "type" => "block" , "action" => "close" , "kind" => "string" } ,
13+ { "type" => "text" , "text" => "puts" , "kind" => "ident" } ,
14+ { "type" => "text" , "text" => " " , "kind" => "space" } ,
15+ { "type" => "block" , "action" => "open" , "kind" => "string" } ,
16+ { "type" => "text" , "text" => "\" " , "kind" => "delimiter" } ,
17+ { "type" => "text" , "text" => "Hello world!" , "kind" => "content" } ,
18+ { "type" => "text" , "text" => "\" " , "kind" => "delimiter" } ,
19+ { "type" => "block" , "action" => "close" , "kind" => "string" } ,
2020] , JSON . load ( json )
2121ensure
2222for path in old_load_paths - $: