File tree Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -117,7 +117,7 @@ class _InvocationMatcher implements Matcher {
117117
118118 // Returns named arguments as an iterable of '<name>: <value>'.
119119 static Iterable <String > _namedArgsAndValues (Invocation invocation) =>
120- invocation.namedArguments.keys.map/*<String>*/ ((name) =>
120+ invocation.namedArguments.keys.map ((name) =>
121121 '${_symbolToString (name )}: ${invocation .namedArguments [name ]}' );
122122
123123 // This will give is a mangled symbol in dart2js/aot with minification
Original file line number Diff line number Diff line change @@ -726,7 +726,7 @@ typedef PostExpectation Expectation(x);
726726/// `when` or `verify` context (a call "for real"), Mockito will respond with
727727/// the stored canned response, if it can match the mock method parameters.
728728///
729- /// The response generators include [ thenReturn] , [ thenAnswer] , and [ thenThrow] .
729+ /// The response generators include ` thenReturn` , ` thenAnswer` , and ` thenThrow` .
730730///
731731/// See the README for more information.
732732Expectation get when {
Original file line number Diff line number Diff line change @@ -33,7 +33,7 @@ void main() {
3333
3434 group ("spy" , () {
3535 setUp (() {
36- mock = spy/*<RealClass>*/ (new MockedClass (), new RealClass ());
36+ mock = spy (new MockedClass (), new RealClass ());
3737 });
3838
3939 test ("should delegate to real object by default" , () {
You can’t perform that action at this time.
0 commit comments