1
Good evening, I am trying to compare a string with a Linked list but I am not having success, the Linked list is being returned a value of another function but I will put here the output of the Linked list.
assertEquals("nome composto",frase.converterCamelCase("nomeComposto"));
the test accuses what happened.
java.lang.Assertionerror: expected:< compound name> but was:<[name, compound]>
how can I make this test pass?
the method has to return a linkedlist, because this expresses that the method has to return this type.
– argent into
I was able to help?
– Leonardo Villela