Skip to content
This repository has been archived by the owner on Oct 30, 2018. It is now read-only.

Commit

Permalink
Merge pull request #234 from isao/build130testfix
Browse files Browse the repository at this point in the history
fix unit test errors in build 130
  • Loading branch information
drewfish committed Jun 26, 2012
2 parents aebacc9 + fcd6fa0 commit d0383e1
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ YUI.add('mojito-output-adapter-addon-tests', function(Y, NAME) {
doneCalled = true;
A.areSame('hi',data, 'bad string to done');
A.areSame(1, ct.length, "should be only one content-type header");
A.areSame('text/plain; charset="utf-8"', ct[0]);
A.areSame('text/plain; charset=utf-8', ct[0]);
}
};
var instance = {views: {}};
Expand Down Expand Up @@ -90,7 +90,7 @@ YUI.add('mojito-output-adapter-addon-tests', function(Y, NAME) {
doneCalled = true;
A.areSame(Y.JSON.stringify(json), data, 'bad string to done');
A.areSame(1, ct.length, "should be only one content-type header");
A.areSame('application/json; charset="utf-8"', ct[0]);
A.areSame('application/json; charset=utf-8', ct[0]);
}
};
ac.command = {instance: {views: {}}};
Expand All @@ -112,7 +112,7 @@ YUI.add('mojito-output-adapter-addon-tests', function(Y, NAME) {
doneCalled = true;
A.areSame('<xml><hi>there</hi></xml>', data, 'bad string to done');
A.areSame(1, ct.length, "should be only one content-type header");
A.areSame('application/xml; charset="utf-8"', ct[0]);
A.areSame('application/xml; charset=utf-8', ct[0]);
}
};
ac.command = {instance: {views: {}}};
Expand Down

0 comments on commit d0383e1

Please sign in to comment.