This commit is contained in:
Dan Field
2020-01-27 14:36:02 -08:00
committed by GitHub
parent 31cd3c7b80
commit 8b2993337a
196 changed files with 1605 additions and 1682 deletions

View File

@@ -217,7 +217,7 @@ void main() {
}
// Both views should be invalid as they were missing required fields.
expect(failingFunction, throwsA(isInstanceOf<RpcFormatError>()));
expect(failingFunction, throwsA(isA<RpcFormatError>()));
});
test('get isolates by pattern', () async {
@@ -311,7 +311,7 @@ void main() {
}
// Both views should be invalid as they were missing required fields.
expect(failingFunction, throwsA(isInstanceOf<RpcFormatError>()));
expect(failingFunction, throwsA(isA<RpcFormatError>()));
});
});
@@ -346,7 +346,7 @@ void main() {
await vm.invokeRpc('somesillyfunction', timeout: timeoutTime);
}
expect(failingFunction, throwsA(isInstanceOf<TimeoutException>()));
expect(failingFunction, throwsA(isA<TimeoutException>()));
});
});
}

View File

@@ -98,7 +98,7 @@ void main() {
await runner.run('oihaw');
}
expect(failingFunction, throwsA(isInstanceOf<SshCommandError>()));
expect(failingFunction, throwsA(isA<SshCommandError>()));
});
test('verify correct args with config', () async {