-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Closed
Labels
area-pkgUsed for miscellaneous pkg/ packages not associated with specific area- teams.Used for miscellaneous pkg/ packages not associated with specific area- teams.closed-duplicateClosed in favor of an existing reportClosed in favor of an existing report
Description
This issue was originally filed by @seaneagan
What steps will reproduce the problem?
1.
2.
3.
What is the expected output? What do you see instead?
What version of the product are you using? On what operating system?
currently it doesn't read as nicely as other matchers:
expect(x, new isInstanceOf<int>());
expect(f, throwsA(new isInstanceOf<ExpectedError>()));
better would be:
expect(x, isA(int));
expect(f, throwsA(isA(ExpectedError)));
or even:
expect(x, int);
expect(f, throwsA(ExpectedError));
I think this is blocked on issue #10406.
Please provide any additional information below.
Metadata
Metadata
Assignees
Labels
area-pkgUsed for miscellaneous pkg/ packages not associated with specific area- teams.Used for miscellaneous pkg/ packages not associated with specific area- teams.closed-duplicateClosed in favor of an existing reportClosed in favor of an existing report