Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
John McEleney
/
casperjs
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
Commit
5ef5a718
...
5ef5a71895b55f20a087fa4e0b45bbb894322047
authored
2012-11-02 11:57:07 -0400
by
Victor Yap
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
Fixed declaration of Tester.assertThrows()
1 parent
40d0141b
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
modules/tester.js
modules/tester.js
View file @
5ef5a71
...
...
@@ -382,7 +382,7 @@ Tester.prototype.assertNotVisible = Tester.prototype.assertInvisible = function
* @param String message Test description
* @return Object An assertion result object
*/
Tester
.
prototype
.
assertRaises
=
Tester
.
prototype
.
assertRaise
=
this
.
assertThrows
=
function
assertRaises
(
fn
,
args
,
message
)
{
Tester
.
prototype
.
assertRaises
=
Tester
.
prototype
.
assertRaise
=
Tester
.
prototype
.
assertThrows
=
function
assertRaises
(
fn
,
args
,
message
)
{
"use strict"
;
var
context
=
{
type
:
"assertRaises"
,
...
...
Please
register
or
sign in
to post a comment