Skip to content

Commit

Permalink
Fix indents
Browse files Browse the repository at this point in the history
Per @zqzhang feedback
  • Loading branch information
dontcallmedom committed Jan 13, 2016
1 parent b01570d commit ce10680
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions idlharness.js
Original file line number Diff line number Diff line change
Expand Up @@ -1077,8 +1077,9 @@ IdlInterface.prototype.test_member_operation = function(member)
//@{
{
var a_test = async_test(this.name + " interface: operation " + member.name +
"(" + member.arguments.map(function(m) { return m.idlType.idlType; }) +
")");
"(" + member.arguments.map(
function(m) {return m.idlType.idlType; } )
+")");
a_test.step(function()
{
if (this.is_callback() && !this.has_constants()) {
Expand Down Expand Up @@ -1178,7 +1179,8 @@ IdlInterface.prototype.do_member_operation_asserts = function(memberHolderObject
memberHolderObject[member.name] != self[member.name])
{
cb = awaitNCallbacks(2, done);
throwOrReject(a_test, member, memberHolderObject[member.name], null, args, "calling operation with this = null didn't throw TypeError", cb);
throwOrReject(a_test, member, memberHolderObject[member.name], null, args,
"calling operation with this = null didn't throw TypeError", cb);
} else {
cb = awaitNCallbacks(1, done);
}
Expand All @@ -1188,7 +1190,8 @@ IdlInterface.prototype.do_member_operation_asserts = function(memberHolderObject
//
// TODO: Test a platform object that implements some other
// interface. (Have to be sure to get inheritance right.)
throwOrReject(a_test, member, memberHolderObject[member.name], {}, args, "calling operation with this = {} didn't throw TypeError", cb);
throwOrReject(a_test, member, memberHolderObject[member.name], {}, args,
"calling operation with this = {} didn't throw TypeError", cb);
} else {
done();
}
Expand Down

0 comments on commit ce10680

Please sign in to comment.