Skip to content

Commit 23871b4

Browse files
Update junit-platform-engine/src/main/java/org/junit/platform/engine/discovery/ClasspathResourceSelector.java
Co-authored-by: Marc Philipp <[email protected]>
1 parent e9e1ade commit 23871b4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

junit-platform-engine/src/main/java/org/junit/platform/engine/discovery/ClasspathResourceSelector.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ public Set<Resource> getClasspathResources() {
102102
"Could not load resource(s) with name: " + this.classpathResourceName, cause));
103103
if (classpathResources.isEmpty()) {
104104
throw new PreconditionViolationException(
105-
"Could not load resource(s) with name: " + this.classpathResourceName);
105+
"Could not find any resource(s) with name: " + this.classpathResourceName);
106106
}
107107
this.classpathResources = unmodifiableSet(classpathResources);
108108
}

0 commit comments

Comments
 (0)