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
08c2c710
...
08c2c71004c4a3bf776eaa7d537525fcf2a94714
authored
2014-02-17 16:11:16 +0100
by
Nicolas Perriault
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
fixed linting issue
1 parent
c24f3e2e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
6 deletions
modules/tester.js
modules/tester.js
View file @
08c2c71
...
...
@@ -688,12 +688,10 @@ Tester.prototype.assertRaises =
Tester
.
prototype
.
assertRaise
=
Tester
.
prototype
.
assertThrows
=
function
assertRaises
(
fn
,
args
,
message
)
{
"use strict"
;
var
thrown
=
false
,
error
=
undefined
,
context
=
{
type
:
"assertRaises"
,
standard
:
"Function raises an error"
};
var
error
,
thrown
=
false
,
context
=
{
type
:
"assertRaises"
,
standard
:
"Function raises an error"
};
try
{
fn
.
apply
(
null
,
args
);
}
catch
(
err
)
{
...
...
Please
register
or
sign in
to post a comment