Fix AgentClassLoader test (#2982)

This commit is contained in:
Trask Stalnaker 2021-05-12 22:56:52 -07:00 committed by GitHub
parent f413e5a3aa
commit 1b345e399c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -52,8 +52,8 @@ class ShadowPackageRenamingTest extends Specification {
clazz.getProtectionDomain().getCodeSource().getLocation()
expect:
agentSource.getFile() == "/"
agentSource.getProtocol() == "x-internal-jar"
agentSource.getFile().endsWith(".jar")
agentSource.getProtocol() == "file"
agentSource == agentGuavaDep
agentSource.getFile() != userGuava.getFile()
}