buildr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dona...@apache.org
Subject [06/11] buildr git commit: ImproveImprove error message
Date Sun, 22 May 2016 10:50:48 GMT
ImproveImprove error message


Project: http://git-wip-us.apache.org/repos/asf/buildr/repo
Commit: http://git-wip-us.apache.org/repos/asf/buildr/commit/8ec9b0d3
Tree: http://git-wip-us.apache.org/repos/asf/buildr/tree/8ec9b0d3
Diff: http://git-wip-us.apache.org/repos/asf/buildr/diff/8ec9b0d3

Branch: refs/heads/master
Commit: 8ec9b0d371034aee2cb14cc0f18c7e2d89e0393b
Parents: a1ca51e
Author: Peter Donald <peter@realityforge.org>
Authored: Sun May 22 20:40:23 2016 +1000
Committer: Peter Donald <peter@realityforge.org>
Committed: Sun May 22 20:40:23 2016 +1000

----------------------------------------------------------------------
 spec/xpath_matchers.rb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/buildr/blob/8ec9b0d3/spec/xpath_matchers.rb
----------------------------------------------------------------------
diff --git a/spec/xpath_matchers.rb b/spec/xpath_matchers.rb
index 3bb3426..c5c4ed7 100644
--- a/spec/xpath_matchers.rb
+++ b/spec/xpath_matchers.rb
@@ -78,7 +78,7 @@ module RSpec
       end
 
       def failure_message
-        "The xpath #{@xpath} did not have the value '#{@val}' It was '#{@actual_val}'"
+        "The xpath #{@xpath} did not have the value #{@val.inspect} it was #{@actual_val.inspect}"
       end
 
       def description


Mime
View raw message