Skip to content

Commit

Permalink
Add missing function name (#1440)
Browse files Browse the repository at this point in the history
  • Loading branch information
StefanSchoof authored and mantoni committed May 30, 2017
1 parent 5f989a8 commit c6d01d8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/sinon/sandbox-stub.js
Expand Up @@ -13,8 +13,8 @@ function sandboxStub(object, property/*, value*/) {
deprecated.printWarning(
"sandbox.stub(obj, 'meth', val) is deprecated and will be removed from " +
"the public API in a future version of sinon." +
"\n Use sandbox(obj, 'meth').callsFake(fn) instead in order to stub a function." +
"\n Use sandbox(obj, 'meth').value(fn) instead in order to stub a non-function value."
"\n Use sandbox.stub(obj, 'meth').callsFake(fn) instead in order to stub a function." +
"\n Use sandbox.stub(obj, 'meth').value(fn) instead in order to stub a non-function value."
);

throwOnFalsyObject.apply(null, arguments);
Expand Down

0 comments on commit c6d01d8

Please sign in to comment.