joshua | Flow (2025-07-09)
In the Cadence test framework, is Test.assertError deprecated or something? I don't see it in the docs
2 Replies
I've created a thread for your message. Please continue any relevant discussion in this thread.
You can rename this thread using
/title <new title>
and it doesn't work like I assumed it would in my tests
It looks like it tries to match the entire error string, but I was hoping I could just match the string that I put in panic()
In the message, it does say it doesn't contain the given sub-string, but it definitely does when I test it
Nevermind, I was looking at the wrong test case. False alarm. 😅