org.junit.ComparisonFailure: expected:<.... FT MOD_RES 3[]38 338 N6-a...> but was:<.... FT MOD_RES 3[13 313 Asymmetric dimethylarginine. FT {ECO:0000250|UniProtKB:P05202}. FT MOD_RES 3]38 338 N6-a...>

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

via GitHub by colin-combe
, 10 months ago
expected:<.... FT MOD_RES 3[]38 338 N6-a...> but was:<.... FT MOD_RES 3[13 313 Asymmetric dimethylarginine. FT {ECO:0000250|UniProtKB:P05202}. FT MOD_RES 3]38 338 N6-a...>
via GitHub by lpellegr
, 2 years ago
expected:<[aa]> but was:<[bb]>
via GitHub by lpellegr
, 2 years ago
expected:<[aa]> but was:<[bb]>
via GitHub by jlanzarotta
, 1 year ago
expected:<[Bar]> but was:<[Foo]>
via GitHub by elya5
, 1 year ago
expected:<[bar]> but was:<[foo]>
org.junit.ComparisonFailure: expected:<.... FT MOD_RES 3[]38 338 N6-a...> but was:<.... FT MOD_RES 3[13 313 Asymmetric dimethylarginine. FT {ECO:0000250|UniProtKB:P05202}. FT MOD_RES 3]38 338 N6-a...>
at org.junit.Assert.assertEquals(Assert.java:125)
at org.junit.Assert.assertEquals(Assert.java:147)
at psidev.psi.mi.jami.bridges.unisave.UnisaveClientTest.getAvailableSequenceUpdate_P12345(UnisaveClientTest.java:179)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:45)
at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)
at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:42)
at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20)
at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:263)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:68)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:47)
at org.junit.runners.ParentRunner$3.run(ParentRunner.java:231)
at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:60)
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:229)
at org.junit.runners.ParentRunner.access$000(ParentRunner.java:50)
at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:222)
at org.junit.runners.ParentRunner.run(ParentRunner.java:300)
at org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:53)
at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:123)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:164)
at org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:110)
at org.apache.maven.surefire.booter.SurefireStarter.invokeProvider(SurefireStarter.java:175)
at org.apache.maven.surefire.booter.SurefireStarter.runSuitesInProcessWhenForked(SurefireStarter.java:107)

Users with the same issue

Once, 1 week ago
82 times, 1 month ago
2 times, 1 month ago
Once, 1 month ago
38 times, 1 month ago

Write tip

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