Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
U
uritemplate-js
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Jérome Perrin
uritemplate-js
Commits
21505bd8
Commit
21505bd8
authored
Jan 20, 2013
by
fxa
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
rebased
parent
2d83e08b
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
4 additions
and
4 deletions
+4
-4
.gitmodules
.gitmodules
+3
-0
test/integration/testRfcSamples.js
test/integration/testRfcSamples.js
+0
-2
test/unit/testVariableExpression.js
test/unit/testVariableExpression.js
+0
-2
uritemplate-test
uritemplate-test
+1
-0
No files found.
.gitmodules
View file @
21505bd8
[submodule "uritemplate-test"]
path = uritemplate-test
url = git://github.com/uri-templates/uritemplate-test.git
test/integration/testRfcSamples.js
View file @
21505bd8
...
...
@@ -116,11 +116,9 @@ module.exports = (function () {
'
extended tests
'
:
function
(
test
)
{
runTestFile
(
test
,
path
.
join
(
SPEC_HOME
,
'
extended-tests.json
'
));
},
/* negative tests have invalid specs in it -- they were fixed in a later version of the test
'
negative tests
'
:
function
(
test
)
{
runTestFile
(
test
,
path
.
join
(
SPEC_HOME
,
'
negative-tests.json
'
));
},
*/
'
own tests
'
:
function
(
test
)
{
runTestFile
(
test
,
'
own-testcases.json
'
);
}
...
...
test/unit/testVariableExpression.js
View file @
21505bd8
...
...
@@ -27,7 +27,6 @@ module.exports = (function () {
test
.
done
();
},
"
empty lists with ? must show the name
"
:
function
(
test
)
{
console
.
log
(
JSON
.
stringify
(
test
,
null
,
4
));
var
ve
=
new
VariableExpression
(
"
{?empty}
"
,
operators
.
valueOf
(
'
?
'
),
[
{
varname
:
'
empty
'
,
exploded
:
false
,
maxLength
:
null
}
]);
...
...
@@ -35,7 +34,6 @@ module.exports = (function () {
test
.
done
();
},
"
exploded empty lists with ? must not show the name
"
:
function
(
test
)
{
console
.
log
(
JSON
.
stringify
(
test
,
null
,
4
));
var
ve
=
new
VariableExpression
(
"
{?empty*}
"
,
operators
.
valueOf
(
'
?
'
),
[
{
varname
:
'
empty
'
,
exploded
:
true
,
maxLength
:
null
}
]);
...
...
uritemplate-test
@
6aad87eb
Subproject commit 6aad87eb6f7763e9806b9345dd90e697be6b1bbf
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment