From e150dd6d9e5f1fc871bc67e98f538d09fb0849e2 Mon Sep 17 00:00:00 2001 From: Jim Weirich Date: Tue, 9 Apr 2013 10:10:24 -0400 Subject: [PATCH] Fix private message error for JRuby. --- src/about_methods.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/about_methods.rb b/src/about_methods.rb index b720010..dee1387 100644 --- a/src/about_methods.rb +++ b/src/about_methods.rb @@ -130,7 +130,7 @@ class AboutMethods < EdgeCase::Koan exception = assert_raise(___(NoMethodError)) do self.my_private_method end - assert_match /#{__("private method `my_private_method' called ")}/, exception.message + assert_match /#{__("method `my_private_method'")}/, exception.message end # ------------------------------------------------------------------