style fix
This commit is contained in:
parent
31d2ee9c0c
commit
00bfc86630
@ -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() {
|
|||||||
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'));
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
Loading…
x
Reference in New Issue
Block a user