Skip to content

Commit

Permalink
fixup! Add a force_timeout function to tests.
Browse files Browse the repository at this point in the history
  • Loading branch information
jgraham committed Apr 17, 2014
1 parent 7f9624a commit 6768f70
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions testharness.js
Original file line number Diff line number Diff line change
Expand Up @@ -1222,8 +1222,8 @@ policies and contribution forms [3].
};

Test.prototype.force_timeout = function() {
test_obj.set_status(test_obj.TIMEOUT);
test_obj.phase = test_obj.phases.HAS_RESULT;
this.set_status(this.TIMEOUT);
this.phase = this.phases.HAS_RESULT;
}

Test.prototype.set_timeout = function()
Expand Down

0 comments on commit 6768f70

Please sign in to comment.