Links
Snippets
Setup angular.dart repo
git clone -o angular [email protected]:angular/angular.dart.git
cd angular.dart
ln -s scripts/git/validate-commit-msg.js .git/hooks/commit-msg
/**
* Handles failures from expect(). The default in
* this base configuration is to throw an exception;
*/
void onExpectFailure(String reason) {
if (stopTestOnExpectFailure) {
+ throw reason; // ckck
- throw new TestFailure(reason);
} else {
try {
throw '';
} catch (_, stack) {
var trace = _getTrace(stack);
if (trace == null) trace = stack;
_testLogBuffer.add(new Pair<String, StackTrace>(reason, trace));
}
}
}