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
dbeb1a41
...
dbeb1a41bc566b500c354a442a32b75142e503e2
authored
2011-12-22 14:33:26 +0100
by
Nicolas Perriault
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
better test cases for ClientUtils.encode()
1 parent
b84771ef
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletions
tests/suites/casper/clientutils.js
tests/suites/casper/clientutils.js
View file @
dbeb1a4
...
...
@@ -6,7 +6,8 @@
var
testCases
=
{
'an empty string'
:
''
,
'a word'
:
'plop'
,
'an utf8 string'
:
'<chè!cs!<egfhèqzgrqgzf'
,
'a null char'
:
'a\u0000'
,
'an utf8 string'
:
'ÀÁÃÄÅÇÈÉÊËÌÍÎÏÒÓÔÕÖÙÚÛÜÝàáâãäåçèéêëìíîïðòóôõöùúûüýÿ'
,
'song lyrics'
:
(
"Voilà l'été, j'aperçois le soleil\n"
+
"Les nuages filent et le ciel s'éclaircit\n"
+
"Et dans ma tête qui bourdonnent?\n"
+
...
...
Please
register
or
sign in
to post a comment