Repository: camel Updated Branches: refs/heads/master e6c569cc9 -> 9a746ef7c
CAMEL-6099: Fixing a unit test that expects a certain failure message for invalid chmod strings Project: http://git-wip-us.apache.org/repos/asf/camel/repo Commit: http://git-wip-us.apache.org/repos/asf/camel/commit/9a746ef7 Tree: http://git-wip-us.apache.org/repos/asf/camel/tree/9a746ef7 Diff: http://git-wip-us.apache.org/repos/asf/camel/diff/9a746ef7 Branch: refs/heads/master Commit: 9a746ef7c78900212e00b9fec047eb3918c40182 Parents: e6c569c Author: Scott Stults <sstu...@o19s.com> Authored: Thu Nov 6 20:14:41 2014 -0500 Committer: Willem Jiang <willem.ji...@gmail.com> Committed: Fri Nov 7 09:34:24 2014 +0800 ---------------------------------------------------------------------- .../apache/camel/component/file/FileProducerChmodOptionTest.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/camel/blob/9a746ef7/camel-core/src/test/java/org/apache/camel/component/file/FileProducerChmodOptionTest.java ---------------------------------------------------------------------- diff --git a/camel-core/src/test/java/org/apache/camel/component/file/FileProducerChmodOptionTest.java b/camel-core/src/test/java/org/apache/camel/component/file/FileProducerChmodOptionTest.java index eaba1e3..ad49541 100644 --- a/camel-core/src/test/java/org/apache/camel/component/file/FileProducerChmodOptionTest.java +++ b/camel-core/src/test/java/org/apache/camel/component/file/FileProducerChmodOptionTest.java @@ -83,7 +83,7 @@ public class FileProducerChmodOptionTest extends ContextTestSupport { fail("Expected FailedToCreateRouteException"); } catch (Exception e) { assertTrue("Expected FailedToCreateRouteException, was " + e.getClass().getCanonicalName() , e instanceof FailedToCreateRouteException); - assertTrue("Message was [" + e.getMessage() + "]", e.getMessage().endsWith("due to: chmod option [abc] is not valid")); + assertTrue("Message was [" + e.getMessage() + "]", e.getMessage().endsWith("conversion possible: chmod option [abc] is not valid")); } }