org.junit.ComparisonFailure: expected:<[/tmp/]x.jar> but was:<[C:\tmp\]x.jar>

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

org.junit.ComparisonFailure: expected:<[/tmp/]x.jar> but was:<[C:\tmp\]x.jar>
at org.junit.Assert.assertEquals(Assert.java:125)
at org.junit.Assert.assertEquals(Assert.java:147)
at org.jenkinsci.plugins.scriptsecurity.scripts.ClasspathEntryTest.assertRoundTrip(ClasspathEntryTest.java:38)
at org.jenkinsci.plugins.scriptsecurity.scripts.ClasspathEntryTest.pathURLConversion(ClasspathEntryTest.java:34)

Users with the same issue

Once, 6 months ago
Samebug visitor profile picture
Unknown user
Once, 2 days ago
Samebug visitor profile picture
Unknown user
Once, 2 days ago
Samebug visitor profile picture
Unknown user
Once, 2 days ago
Samebug visitor profile picture
Unknown user
Once, 2 days ago
287 more bugmates

Know the solutions? Share your knowledge to help other developers to debug faster.