Properly report minitest errors.

Change-Id: If8f4ff208f31c2a3fefd9781f84ec9b8956ec6a2
Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
diff --git a/plugins/org.eclipse.dltk.ruby.testing/testing/minitest/dltk_plugin.rb b/plugins/org.eclipse.dltk.ruby.testing/testing/minitest/dltk_plugin.rb
index 4b3addf..316a6c7 100644
--- a/plugins/org.eclipse.dltk.ruby.testing/testing/minitest/dltk_plugin.rb
+++ b/plugins/org.eclipse.dltk.ruby.testing/testing/minitest/dltk_plugin.rb
@@ -1,5 +1,5 @@
 #
-# Copyright (c) 2016 Red Hat Inc. and others
+# Copyright (c) 2016, 2017 Red Hat Inc. and others
 #
 # All rights reserved. This program and the accompanying materials
 # are made available under the terms of the Eclipse Public License v1.0
@@ -150,8 +150,8 @@
       location, line = result.method(result.name).source_location
       DLTKReporter.sendMessage MessageIds::TEST_ERROR + result.class.name+result.name + "," + result.name
       DLTKReporter.sendMessage MessageIds::TRACE_START
-      DLTKReporter.sendMessage result.failure.to_s
-      DLTKReporter.sendMessage result.failure.location
+      DLTKReporter.sendMessage result.failures[0].message
+      DLTKReporter.sendMessage result.failures[0].location
       result.failure.backtrace.each { |line| DLTKReporter.sendMessage line }
       DLTKReporter.sendMessage MessageIds::TRACE_END
     end