Fix AgentClassLoader test (#2982)
This commit is contained in:
parent
f413e5a3aa
commit
1b345e399c
|
@ -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()
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue