Lines Matching full:shouldbe
34 shouldBe("myObject.call()", '[myObject, "myObject.call"]');
35 shouldBe("myFunction('arg1')", '[this, "myFunction", "arg1"]');
36 shouldBe("myFunction.call(myObject, 'arg1')", '[myObject, "myFunction", "arg1"]');
37 shouldBe("myFunction.call()", '[this, "myFunction", undefined]');
38 shouldBe("myFunction.call(null)", '[this, "myFunction", undefined]');
39 shouldBe("myFunction.call(undefined)", '[this, "myFunction", undefined]');
40 shouldBe("myFunction.aliasedCall(myObject, 'arg1')", '[myObject, "myFunction", "arg1"]');
41 shouldBe("myFunction.aliasedCall()", '[this, "myFunction", undefined]');
42 shouldBe("myFunction.aliasedCall(null)", '[this, "myFunction", undefined]');
43 shouldBe("myFunction.aliasedCall(undefined)", '[this, "myFunction", undefined]');
44 shouldBe("myFunctionWithCall.call(myObject, 'arg1')", '[myFunctionWithCall, "myFunctionWithCall.call", myObject]');
45 shouldBe("myFunctionWithCall.aliasedCall(myObject, 'arg1')", '[myObject, "myFunctionWithCall", "arg1"]');