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

style fix

parent 31d2ee9c
...@@ -28,7 +28,7 @@ void main() { ...@@ -28,7 +28,7 @@ void main() {
try { try {
await driver.waitForAbsent(presentText, timeout: const Duration(seconds: 1)); await driver.waitForAbsent(presentText, timeout: const Duration(seconds: 1));
fail('expected DriverError'); fail('expected DriverError');
} on DriverError catch(error) { } on DriverError catch (error) {
expect(error.message, contains('Timeout while executing waitForAbsent')); expect(error.message, contains('Timeout while executing waitForAbsent'));
} }
}); });
...@@ -53,7 +53,7 @@ void main() { ...@@ -53,7 +53,7 @@ void main() {
try { try {
await driver.waitFor(presentText, timeout: const Duration(seconds: 1)); await driver.waitFor(presentText, timeout: const Duration(seconds: 1));
fail('expected DriverError'); fail('expected DriverError');
} on DriverError catch(error) { } on DriverError catch (error) {
expect(error.message, contains('Timeout while executing waitFor')); 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