mirror of
https://github.com/meteor/meteor.git
synced 2026-05-02 03:01:46 -04:00
Make addendum not sensitive to line breaks
This commit is contained in:
@@ -1783,7 +1783,11 @@ var testShowRelease = selftest.markStack(function (s, options) {
|
||||
run.read("\n");
|
||||
}
|
||||
if (options.addendum) {
|
||||
run.read(options.addendum + "\n");
|
||||
var addendum = options.addendum;
|
||||
|
||||
addendum = addendum.replace(/\s+/g, "\\s+") + "\\s+";
|
||||
|
||||
run.read(new RegExp(addendum));
|
||||
}
|
||||
run.expectEnd(0);
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user