Permalink
Browse files

Merged in AndyStricker changes

  • Loading branch information...
1 parent 7d9e1f9 commit 4fbc45abb507818aea56bba529c1c09dc284bada Nicholas C. Zakas committed Oct 25, 2011
@@ -1296,7 +1296,7 @@ YUITest.ArrayAssert = {
//begin checking values
for (var i=0; i < expected.length; i++){
if (expected[i] != actual[i]){
- throw new YUITest.Assert.ComparisonFailure(YUITest.Assert._formatMessage(message, "Values in position " + i + " are not equal."), expected[i], actual[i]);
+ throw new YUITest.ComparisonFailure(YUITest.Assert._formatMessage(message, "Values in position " + i + " are not equal."), expected[i], actual[i]);
}
}
},
@@ -1333,7 +1333,7 @@ YUITest.ArrayAssert = {
//begin checking values
for (var i=0; i < expected.length; i++){
if (!comparator(expected[i], actual[i])){
- throw new YUITest.Assert.ComparisonFailure(YUITest.Assert._formatMessage(message, "Values in position " + i + " are not equivalent."), expected[i], actual[i]);
+ throw new YUITest.ComparisonFailure(YUITest.Assert._formatMessage(message, "Values in position " + i + " are not equivalent."), expected[i], actual[i]);
}
}
},
@@ -1390,7 +1390,7 @@ YUITest.ArrayAssert = {
//begin checking values
for (var i=0; i < expected.length; i++){
if (expected[i] !== actual[i]){
- throw new YUITest.Assert.ComparisonFailure(YUITest.Assert._formatMessage(message, "Values in position " + i + " are not the same."), expected[i], actual[i]);
+ throw new YUITest.ComparisonFailure(YUITest.Assert._formatMessage(message, "Values in position " + i + " are not the same."), expected[i], actual[i]);
}
}
},
@@ -1488,7 +1488,7 @@ YUITest.ObjectAssert = {
* @deprecated Use ownsOrInheritsKeys() instead
*/
hasKeys: function (properties, object, message) {
- YUITest.ObjectAssert.ownsOrInheritsKeys(properties, objects, message);
+ YUITest.ObjectAssert.ownsOrInheritsKeys(properties, object, message);
},
/**
Oops, something went wrong.
@@ -1296,7 +1296,7 @@ YUITest.ArrayAssert = {
//begin checking values
for (var i=0; i < expected.length; i++){
if (expected[i] != actual[i]){
- throw new YUITest.Assert.ComparisonFailure(YUITest.Assert._formatMessage(message, "Values in position " + i + " are not equal."), expected[i], actual[i]);
+ throw new YUITest.ComparisonFailure(YUITest.Assert._formatMessage(message, "Values in position " + i + " are not equal."), expected[i], actual[i]);
}
}
},
@@ -1333,7 +1333,7 @@ YUITest.ArrayAssert = {
//begin checking values
for (var i=0; i < expected.length; i++){
if (!comparator(expected[i], actual[i])){
- throw new YUITest.Assert.ComparisonFailure(YUITest.Assert._formatMessage(message, "Values in position " + i + " are not equivalent."), expected[i], actual[i]);
+ throw new YUITest.ComparisonFailure(YUITest.Assert._formatMessage(message, "Values in position " + i + " are not equivalent."), expected[i], actual[i]);
}
}
},
@@ -1390,7 +1390,7 @@ YUITest.ArrayAssert = {
//begin checking values
for (var i=0; i < expected.length; i++){
if (expected[i] !== actual[i]){
- throw new YUITest.Assert.ComparisonFailure(YUITest.Assert._formatMessage(message, "Values in position " + i + " are not the same."), expected[i], actual[i]);
+ throw new YUITest.ComparisonFailure(YUITest.Assert._formatMessage(message, "Values in position " + i + " are not the same."), expected[i], actual[i]);
}
}
},
@@ -1488,7 +1488,7 @@ YUITest.ObjectAssert = {
* @deprecated Use ownsOrInheritsKeys() instead
*/
hasKeys: function (properties, object, message) {
- YUITest.ObjectAssert.ownsOrInheritsKeys(properties, objects, message);
+ YUITest.ObjectAssert.ownsOrInheritsKeys(properties, object, message);
},
/**
@@ -1296,7 +1296,7 @@ YUITest.ArrayAssert = {
//begin checking values
for (var i=0; i < expected.length; i++){
if (expected[i] != actual[i]){
- throw new YUITest.Assert.ComparisonFailure(YUITest.Assert._formatMessage(message, "Values in position " + i + " are not equal."), expected[i], actual[i]);
+ throw new YUITest.ComparisonFailure(YUITest.Assert._formatMessage(message, "Values in position " + i + " are not equal."), expected[i], actual[i]);
}
}
},
@@ -1333,7 +1333,7 @@ YUITest.ArrayAssert = {
//begin checking values
for (var i=0; i < expected.length; i++){
if (!comparator(expected[i], actual[i])){
- throw new YUITest.Assert.ComparisonFailure(YUITest.Assert._formatMessage(message, "Values in position " + i + " are not equivalent."), expected[i], actual[i]);
+ throw new YUITest.ComparisonFailure(YUITest.Assert._formatMessage(message, "Values in position " + i + " are not equivalent."), expected[i], actual[i]);
}
}
},
@@ -1390,7 +1390,7 @@ YUITest.ArrayAssert = {
//begin checking values
for (var i=0; i < expected.length; i++){
if (expected[i] !== actual[i]){
- throw new YUITest.Assert.ComparisonFailure(YUITest.Assert._formatMessage(message, "Values in position " + i + " are not the same."), expected[i], actual[i]);
+ throw new YUITest.ComparisonFailure(YUITest.Assert._formatMessage(message, "Values in position " + i + " are not the same."), expected[i], actual[i]);
}
}
},
@@ -1488,7 +1488,7 @@ YUITest.ObjectAssert = {
* @deprecated Use ownsOrInheritsKeys() instead
*/
hasKeys: function (properties, object, message) {
- YUITest.ObjectAssert.ownsOrInheritsKeys(properties, objects, message);
+ YUITest.ObjectAssert.ownsOrInheritsKeys(properties, object, message);
},
/**
Oops, something went wrong.
@@ -1298,7 +1298,7 @@ YUITest.ArrayAssert = {
//begin checking values
for (var i=0; i < expected.length; i++){
if (expected[i] != actual[i]){
- throw new YUITest.Assert.ComparisonFailure(YUITest.Assert._formatMessage(message, "Values in position " + i + " are not equal."), expected[i], actual[i]);
+ throw new YUITest.ComparisonFailure(YUITest.Assert._formatMessage(message, "Values in position " + i + " are not equal."), expected[i], actual[i]);
}
}
},
@@ -1335,7 +1335,7 @@ YUITest.ArrayAssert = {
//begin checking values
for (var i=0; i < expected.length; i++){
if (!comparator(expected[i], actual[i])){
- throw new YUITest.Assert.ComparisonFailure(YUITest.Assert._formatMessage(message, "Values in position " + i + " are not equivalent."), expected[i], actual[i]);
+ throw new YUITest.ComparisonFailure(YUITest.Assert._formatMessage(message, "Values in position " + i + " are not equivalent."), expected[i], actual[i]);
}
}
},
@@ -1392,7 +1392,7 @@ YUITest.ArrayAssert = {
//begin checking values
for (var i=0; i < expected.length; i++){
if (expected[i] !== actual[i]){
- throw new YUITest.Assert.ComparisonFailure(YUITest.Assert._formatMessage(message, "Values in position " + i + " are not the same."), expected[i], actual[i]);
+ throw new YUITest.ComparisonFailure(YUITest.Assert._formatMessage(message, "Values in position " + i + " are not the same."), expected[i], actual[i]);
}
}
},
@@ -1490,7 +1490,7 @@ YUITest.ObjectAssert = {
* @deprecated Use ownsOrInheritsKeys() instead
*/
hasKeys: function (properties, object, message) {
- YUITest.ObjectAssert.ownsOrInheritsKeys(properties, objects, message);
+ YUITest.ObjectAssert.ownsOrInheritsKeys(properties, object, message);
},
/**
Oops, something went wrong.
@@ -1298,7 +1298,7 @@ YUITest.ArrayAssert = {
//begin checking values
for (var i=0; i < expected.length; i++){
if (expected[i] != actual[i]){
- throw new YUITest.Assert.ComparisonFailure(YUITest.Assert._formatMessage(message, "Values in position " + i + " are not equal."), expected[i], actual[i]);
+ throw new YUITest.ComparisonFailure(YUITest.Assert._formatMessage(message, "Values in position " + i + " are not equal."), expected[i], actual[i]);
}
}
},
@@ -1335,7 +1335,7 @@ YUITest.ArrayAssert = {
//begin checking values
for (var i=0; i < expected.length; i++){
if (!comparator(expected[i], actual[i])){
- throw new YUITest.Assert.ComparisonFailure(YUITest.Assert._formatMessage(message, "Values in position " + i + " are not equivalent."), expected[i], actual[i]);
+ throw new YUITest.ComparisonFailure(YUITest.Assert._formatMessage(message, "Values in position " + i + " are not equivalent."), expected[i], actual[i]);
}
}
},
@@ -1392,7 +1392,7 @@ YUITest.ArrayAssert = {
//begin checking values
for (var i=0; i < expected.length; i++){
if (expected[i] !== actual[i]){
- throw new YUITest.Assert.ComparisonFailure(YUITest.Assert._formatMessage(message, "Values in position " + i + " are not the same."), expected[i], actual[i]);
+ throw new YUITest.ComparisonFailure(YUITest.Assert._formatMessage(message, "Values in position " + i + " are not the same."), expected[i], actual[i]);
}
}
},
@@ -1490,7 +1490,7 @@ YUITest.ObjectAssert = {
* @deprecated Use ownsOrInheritsKeys() instead
*/
hasKeys: function (properties, object, message) {
- YUITest.ObjectAssert.ownsOrInheritsKeys(properties, objects, message);
+ YUITest.ObjectAssert.ownsOrInheritsKeys(properties, object, message);
},
/**
@@ -1296,7 +1296,7 @@ YUITest.ArrayAssert = {
//begin checking values
for (var i=0; i < expected.length; i++){
if (expected[i] != actual[i]){
- throw new YUITest.Assert.ComparisonFailure(YUITest.Assert._formatMessage(message, "Values in position " + i + " are not equal."), expected[i], actual[i]);
+ throw new YUITest.ComparisonFailure(YUITest.Assert._formatMessage(message, "Values in position " + i + " are not equal."), expected[i], actual[i]);
}
}
},
@@ -1333,7 +1333,7 @@ YUITest.ArrayAssert = {
//begin checking values
for (var i=0; i < expected.length; i++){
if (!comparator(expected[i], actual[i])){
- throw new YUITest.Assert.ComparisonFailure(YUITest.Assert._formatMessage(message, "Values in position " + i + " are not equivalent."), expected[i], actual[i]);
+ throw new YUITest.ComparisonFailure(YUITest.Assert._formatMessage(message, "Values in position " + i + " are not equivalent."), expected[i], actual[i]);
}
}
},
@@ -1390,7 +1390,7 @@ YUITest.ArrayAssert = {
//begin checking values
for (var i=0; i < expected.length; i++){
if (expected[i] !== actual[i]){
- throw new YUITest.Assert.ComparisonFailure(YUITest.Assert._formatMessage(message, "Values in position " + i + " are not the same."), expected[i], actual[i]);
+ throw new YUITest.ComparisonFailure(YUITest.Assert._formatMessage(message, "Values in position " + i + " are not the same."), expected[i], actual[i]);
}
}
},
@@ -1488,7 +1488,7 @@ YUITest.ObjectAssert = {
* @deprecated Use ownsOrInheritsKeys() instead
*/
hasKeys: function (properties, object, message) {
- YUITest.ObjectAssert.ownsOrInheritsKeys(properties, objects, message);
+ YUITest.ObjectAssert.ownsOrInheritsKeys(properties, object, message);
},
/**
Oops, something went wrong.

0 comments on commit 4fbc45a

Please sign in to comment.