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
c1acda7c
...
c1acda7c5b0de7f347556923cd846208ae569153
authored
2012-05-09 12:00:22 +0200
by
Nicolas Perriault
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
closes #103 - added Tester.assertNotEquals
1 parent
0085284f
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
0 deletions
CHANGELOG.md
tests/suites/tester.js
CHANGELOG.md
View file @
c1acda7
...
...
@@ -13,6 +13,7 @@ XXXX-XX-XX, v0.6.7
> saving 10 megs or so of memory because the python process is discarded.
-
fixes
[
#109
](
https://github.com/n1k0/casperjs/issues/109
)
- CLI args containing
`=`
(equals sign) were not parsed properly
-
fixes
[
#100
](
https://github.com/n1k0/casperjs/issues/100
)
&
[
#110
](
https://github.com/n1k0/casperjs/issues/110
)
-
*googlepagination*
sample was broken
-
merged #103 - added
`Tester.assertNotEquals`
method (@juliangruber)
2012-04-27, v0.6.6
------------------
...
...
tests/suites/tester.js
View file @
c1acda7
...
...
@@ -26,6 +26,8 @@ t.assertNot(t.testEquals({1:{name:"bob",age:28}, 2:{name:"john",age:26}}, {1:{na
t
.
assert
(
t
.
testEquals
(
function
(
x
){
return
x
;},
function
(
x
){
return
x
;}),
'Tester.testEquals() function equality'
);
t
.
assertNot
(
t
.
testEquals
(
function
(
x
){
return
x
;},
function
(
y
){
return
y
+
2
;}),
'Tester.testEquals() function inequality'
);
t
.
assertNotEquals
(
42
,
43
,
'Tester.assertNotEquals() works as expected'
);
t
.
comment
(
'Tester.sortFiles()'
);
var
testDirRoot
=
fs
.
pathJoin
(
phantom
.
casperPath
,
'tests'
,
'testdir'
);
var
files
=
t
.
findTestFiles
(
testDirRoot
);
...
...
Please
register
or
sign in
to post a comment