File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
src/testKit/kotlin/com/github/jengelman/gradle/plugins/shadow/testkit Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -49,9 +49,9 @@ fun ZipFile.getStream(entryName: String): InputStream {
4949fun Assert<JarPath>.getContent (entryName : String ) = transform { it.getContent(entryName) }
5050
5151/* *
52- * Scans the jar file for all entries that match the specified [entryName],
53- * [getContent] or [getStream] return only one of the matching entries;
54- * which one these functions return is undefined .
52+ * Scans the jar file for all entries that match the specified [entryName].
53+ * Unlike [getContent] or [getStream], which return only one of the matching entries
54+ * ( which one is undefined), this function returns all matching entries .
5555 */
5656fun Assert<JarPath>.getContents (entryName : String ) = transform { actual ->
5757 JarInputStream (actual.path.inputStream()).use { jarInput ->
You can’t perform that action at this time.
0 commit comments