Skip to content

Commit

Permalink
update buster
Browse files Browse the repository at this point in the history
  • Loading branch information
petermichaux committed May 14, 2012
1 parent a2b4421 commit 780ca18
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions lib/buster/buster-test.js
Original file line number Diff line number Diff line change
Expand Up @@ -880,7 +880,7 @@ var buster = (function (setTimeout, B) {
}
};

if (!Array.prototype.some) {
if (Array.prototype.some) {
buster.some = function (arr, fn, thisp) {
return arr.some(fn, thisp);
};
Expand Down Expand Up @@ -1494,7 +1494,7 @@ if (typeof module != "undefined") {
}
};

assert.message = "[assert] Expected ${0} to be thruthy";
assert.message = "[assert] Expected ${0} to be truthy";
ba.count = 0;

ba.fail = function (message) {
Expand Down Expand Up @@ -2188,7 +2188,7 @@ buster.stackFilter = function (stack, cwd) {
for (var i = 0, l = lines.length; i < l; ++i) {
if (/(\d+)?:\d+\)?$/.test(lines[i])) {
if (!buster.stackFilter.match(lines[i])) {
line = lines[i].trim();
line = lines[i].replace(/^\s+|\s+$/g, "");

if (cwd) {
line = line.replace(cwd, replacer);
Expand Down

0 comments on commit 780ca18

Please sign in to comment.