aboutsummaryrefslogtreecommitdiff
path: root/jimfs/src/test/java
diff options
context:
space:
mode:
Diffstat (limited to 'jimfs/src/test/java')
-rw-r--r--jimfs/src/test/java/com/google/common/jimfs/PathSubject.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/jimfs/src/test/java/com/google/common/jimfs/PathSubject.java b/jimfs/src/test/java/com/google/common/jimfs/PathSubject.java
index bb29b88..ea733eb 100644
--- a/jimfs/src/test/java/com/google/common/jimfs/PathSubject.java
+++ b/jimfs/src/test/java/com/google/common/jimfs/PathSubject.java
@@ -73,7 +73,7 @@ public final class PathSubject extends Subject<PathSubject, Path> {
*/
// TODO(cgruber): Talk to cdecker about removing this as an anti-pattern.
public PathSubject andThat(String path, LinkOption... linkOptions) {
- PathSubject newSubject = check().about(paths()).that(toPath(path));
+ PathSubject newSubject = check("path(%s", path).about(paths()).that(toPath(path));
if (linkOptions.length != 0) {
newSubject = newSubject.noFollowLinks();
}