From 178d4fa430178619ee929ecb229f716f7f1e5abd Mon Sep 17 00:00:00 2001 From: yegor256 Date: Wed, 14 Jun 2017 16:27:57 +0300 Subject: [PATCH] #130: fix --- src/main/java/org/cactoos/io/ResourceAsInput.java | 2 +- src/test/java/org/cactoos/io/ResourceAsInputTest.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/org/cactoos/io/ResourceAsInput.java b/src/main/java/org/cactoos/io/ResourceAsInput.java index 21e17cd77f..da7ff7c0cb 100644 --- a/src/main/java/org/cactoos/io/ResourceAsInput.java +++ b/src/main/java/org/cactoos/io/ResourceAsInput.java @@ -107,7 +107,7 @@ public ResourceAsInput(final String res, final ClassLoader ldr) { input -> { throw new IOException( new FormattedText( - "Resource '%s' was not found", + "Resource \"%s\" was not found", input ).asString() ); diff --git a/src/test/java/org/cactoos/io/ResourceAsInputTest.java b/src/test/java/org/cactoos/io/ResourceAsInputTest.java index 2b80eeeeaa..6ead5ef855 100644 --- a/src/test/java/org/cactoos/io/ResourceAsInputTest.java +++ b/src/test/java/org/cactoos/io/ResourceAsInputTest.java @@ -46,7 +46,7 @@ public void readsBinaryResource() throws Exception { Arrays.copyOfRange( new InputAsBytes( new ResourceAsInput( - "/org/cactoos/io/ResourceAsInputTest.class" + "org/cactoos/io/ResourceAsInputTest.class" ) ).asBytes(), // @checkstyle MagicNumber (2 lines)