diff options
author | 2015-03-06 15:58:35 +0000 | |
---|---|---|
committer | 2015-03-10 13:55:19 +0000 | |
commit | 795895aff87cdb0a5a1e8850b17ccf3863547a1c (patch) | |
tree | fced9c8a2124bfcfb8dfe5de3ba89ae6a25065db /src/test/java/com/google/devtools/build/lib/util/ResourceFileLoaderTest.java | |
parent | 0bacd7c86ceade660a10193645fc93d68606cffc (diff) |
Some more cleanup.
--
MOS_MIGRATED_REVID=87942730
Diffstat (limited to 'src/test/java/com/google/devtools/build/lib/util/ResourceFileLoaderTest.java')
-rw-r--r-- | src/test/java/com/google/devtools/build/lib/util/ResourceFileLoaderTest.java | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/test/java/com/google/devtools/build/lib/util/ResourceFileLoaderTest.java b/src/test/java/com/google/devtools/build/lib/util/ResourceFileLoaderTest.java index e821ca1266..6067101426 100644 --- a/src/test/java/com/google/devtools/build/lib/util/ResourceFileLoaderTest.java +++ b/src/test/java/com/google/devtools/build/lib/util/ResourceFileLoaderTest.java @@ -13,6 +13,7 @@ // limitations under the License. package com.google.devtools.build.lib.util; +import static com.google.common.truth.Truth.assertThat; import static org.junit.Assert.assertEquals; import static org.junit.Assert.fail; @@ -42,7 +43,7 @@ public class ResourceFileLoaderTest { "does_not_exist.txt"); fail(); } catch (IOException e) { - assertEquals("does_not_exist.txt not found.", e.getMessage()); + assertThat(e).hasMessage("does_not_exist.txt not found."); } } |