update: updating test
This commit is contained in:
parent
f384d2e3cd
commit
c1372244c4
1 changed files with 2 additions and 2 deletions
|
@ -115,8 +115,8 @@ void main() {
|
||||||
test('hasHeader', () async {
|
test('hasHeader', () async {
|
||||||
var res = await client.get(Uri.parse('/hello'));
|
var res = await client.get(Uri.parse('/hello'));
|
||||||
expect(res, hasHeader('server'));
|
expect(res, hasHeader('server'));
|
||||||
expect(res, hasHeader('server', 'Angel3'));
|
expect(res, hasHeader('server', 'Platform'));
|
||||||
expect(res, hasHeader('server', ['Angel3']));
|
expect(res, hasHeader('server', ['Platform']));
|
||||||
});
|
});
|
||||||
|
|
||||||
test('hasValidBody+hasContentType', () async {
|
test('hasValidBody+hasContentType', () async {
|
||||||
|
|
Loading…
Reference in a new issue