Browse Source

Code layout improved.

Martin Edenhofer 9 years ago
parent
commit
e10f672649
1 changed files with 1 additions and 2 deletions
  1. 1 2
      test/unit/email_process_test.rb

+ 1 - 2
test/unit/email_process_test.rb

@@ -2028,8 +2028,7 @@ Some Text',
 
   def process(files)
     files.each { |file|
-      parser = Channel::EmailParser.new
-      result = parser.process( { trusted: file[:trusted] }, file[:data] )
+      result = Channel::EmailParser.new.process( { trusted: file[:trusted] }, file[:data] )
       if file[:success]
         if result && result.class == Array && result[1]
           assert( true )