DescriptionFix the old-hijack test.
We were testing for `is ZoneUnaryCallback` on a function returned by
expectAsync(). It turns out the expectAsync() wrappers make all
arguments optional, so `is ZoneUnaryCallback` returns true even if the
original function took two arguments. So instead, we test for
`is! ZoneBinaryCallback`.
R=kevmoo@google.com
Committed: https://github.com/dart-lang/shelf/commit/60e3f7fbfcc30ddb53b45cd0dc13361d38d1cdbc
Patch Set 1 #
Messages
Total messages: 4 (1 generated)
|