Unverified Commit 6a434ab9 authored by Ian Hickson's avatar Ian Hickson Committed by GitHub

Fix grammar and writing style for some of the Router documentation (#68513)

parent dcc8ced8
...@@ -155,9 +155,8 @@ void main() { ...@@ -155,9 +155,8 @@ void main() {
} on AssertionError catch(e) { } on AssertionError catch(e) {
expect( expect(
e.message, e.message,
'You must provide both routeInformationProvider and ' 'Both routeInformationProvider and routeInformationParser must be provided if this router '
'routeInformationParser if this router parses route information. ' 'parses route information. Otherwise, they should both be null.'
'Otheriwse, they should both be null.'
); );
} }
}); });
...@@ -175,9 +174,8 @@ void main() { ...@@ -175,9 +174,8 @@ void main() {
} on AssertionError catch(e) { } on AssertionError catch(e) {
expect( expect(
e.message, e.message,
'You must provide both routeInformationProvider and ' 'Both routeInformationProvider and routeInformationParser must be provided if this router '
'routeInformationParser if this router parses route information. ' 'parses route information. Otherwise, they should both be null.'
'Otheriwse, they should both be null.'
); );
} }
}); });
......
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