Skip to content

Commit 1001c9c

Browse files
a14nsrawlins
authored andcommitted
1 parent 8102a2c commit 1001c9c

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

pkgs/mockito/lib/src/invocation_matcher.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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

pkgs/mockito/lib/src/mock.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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.
732732
Expectation get when {

pkgs/mockito/test/spy_test.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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", () {

0 commit comments

Comments
 (0)