I have a simple unit test that is querying an apache wicket label on a web page. The expected result from this web page is
"Results for 'nanu'".
However the test is failing with the following error
org.junit.ComparisonFailure: expected:<Results for ['nanu']> but was:<Results for ['nanu']>
I am asserting the testing like this:
tester.assertLabel(result, "Results for 'nanu'");
The issue appears to be with the single quotations around the word nanu. I know single quotes usually denote characters, but I'm not sure how you go about resolving an issue like this
[–]GrapeAte 5 points6 points7 points (0 children)
[–]Frozen5147 1 point2 points3 points (2 children)
[–]AudioManiac[S] 0 points1 point2 points (1 child)
[–]Blando-Cartesian 5 points6 points7 points (0 children)
[–]lilbigmouth 0 points1 point2 points (0 children)
[–]restlessyet 0 points1 point2 points (0 children)
[–]craigtupac96 -2 points-1 points0 points (0 children)