Skip to content

Conversation

@a14n
Copy link
Contributor

@a14n a14n commented Oct 24, 2017

No description provided.

/// the stored canned response, if it can match the mock method parameters.
///
/// The response generators include [thenReturn], [thenAnswer], and [thenThrow].
/// The response generators include `thenReturn`, `thenAnswer`, and `thenThrow`.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The [] is how dartdoc links to other methods... why is this changed?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There's a lint or hint :

[dart] Only reference in scope identifiers in doc comments.

Actually all those methods are on PostExpectation. Would you prefer [PostExpectation.thenThrow] ?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Boo, we need this feature in markdown, in order for it to do what I'd want. Ok you're change is good then. Thanks!

Copy link
Member

@srawlins srawlins left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@srawlins srawlins merged commit 52fa6b6 into dart-lang:master Oct 24, 2017
mosuem pushed a commit to dart-lang/test that referenced this pull request Oct 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants