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()
|
clazz.getProtectionDomain().getCodeSource().getLocation()
|
||||||
|
|
||||||
expect:
|
expect:
|
||||||
agentSource.getFile() == "/"
|
agentSource.getFile().endsWith(".jar")
|
||||||
agentSource.getProtocol() == "x-internal-jar"
|
agentSource.getProtocol() == "file"
|
||||||
agentSource == agentGuavaDep
|
agentSource == agentGuavaDep
|
||||||
agentSource.getFile() != userGuava.getFile()
|
agentSource.getFile() != userGuava.getFile()
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue