nyFailing function
Mark a test as expected to fail.
Implementation
void nyFailing(String description, Future<void> Function() callback) {
test(description, () async {
try {
await callback();
fail('Expected test to fail but it passed');
} catch (e) {
// Expected to fail
}
});
}