Commit 00bfc866 authored by Yegor Jbanov's avatar Yegor Jbanov Committed by Yegor

style fix

parent 31d2ee9c
......@@ -28,7 +28,7 @@ void main() {
try {
await driver.waitForAbsent(presentText, timeout: const Duration(seconds: 1));
fail('expected DriverError');
} on DriverError catch(error) {
} on DriverError catch (error) {
expect(error.message, contains('Timeout while executing waitForAbsent'));
}
});
......@@ -53,7 +53,7 @@ void main() {
try {
await driver.waitFor(presentText, timeout: const Duration(seconds: 1));
fail('expected DriverError');
} on DriverError catch(error) {
} on DriverError catch (error) {
expect(error.message, contains('Timeout while executing waitFor'));
}
});
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment