Comparing two string failing assertion <p>This is really weird, im trying to assert two strings are equal and it's failing even though it looks to be the same.</p> <pre><code> Assert.assertSame("Extra Spicy", type, "type is not extra spicy"); </code></pre> <p>I get this error:</p> <blockquote> <p>java.lang.AssertionError: type is not extra spicy expected [Extra Spicy] but found [Extra Spicy] <br> Expected :Extra Spicy <br> Actual :Extra Spicy</p> </blockquote> <p>Everything matches, why is it failing?</p>