KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
I'm having problems with using regexp in my assertEquals() statement. This is the statement. Assert.assertEquals("regexp:*TST-*[0-9]{5}", driver.getTitle()); But I get this error: org.junit.ComparisonFailure: expected:<[regexp:*TST-*[0-9]{5}]> but was:<[[#TST-23570] This is the new summary]> It looks like the regexp is just a string that is being compared. What am I missing?
Tags (comma-separated)
Save Edits
Cancel