Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in
Toggle navigation
H
heroku-buildpack-nodejs
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
JIRA
JIRA
Merge Requests
0
Merge Requests
0
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Python-Dev
heroku-buildpack-nodejs
Commits
2abc83a5
Commit
2abc83a5
authored
Sep 09, 2013
by
zeke
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update expected test output
parent
b55ebc23
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
+6
-6
test
bin/test
+6
-6
No files found.
bin/test
View file @
2abc83a5
...
@@ -19,17 +19,17 @@ testDetectWithoutPackageJson() {
...
@@ -19,17 +19,17 @@ testDetectWithoutPackageJson() {
assertCapturedError 1
""
assertCapturedError 1
""
}
}
testPackageJsonWithVersion
()
{
testPackageJsonWithVersion
()
{
s
compile
"package-json-version"
compile
"package-json-version"
assertNotCaptured
"WARNING: No
version of Node.js
specified"
assertNotCaptured
"WARNING: No
node version
specified"
assertCaptured
"Using node 0.10
.17
"
assertCaptured
"Using node 0.10"
assertCapturedSuccess
assertCapturedSuccess
}
}
testPackageJsonWithoutVersion
()
{
testPackageJsonWithoutVersion
()
{
compile
"package-json-noversion"
compile
"package-json-noversion"
assertCaptured
"WARNING: No
version of Node.js
specified"
assertCaptured
"WARNING: No
node version
specified"
assertCaptured
"Using
Node.js version:
0.10"
assertCaptured
"Using
node
0.10"
assertCapturedSuccess
assertCapturedSuccess
}
}
...
@@ -48,7 +48,7 @@ testProfileCreated() {
...
@@ -48,7 +48,7 @@ testProfileCreated() {
testNodeModulesCached
()
{
testNodeModulesCached
()
{
cache
=
$(
mktmpdir
)
cache
=
$(
mktmpdir
)
compile
"node-modules-caching"
$cache
compile
"node-modules-caching"
$cache
assertEquals
"1"
"
$(
ls
-1
$cache
/node_modules/0.10.1
5/1.3.5
|
wc
-l
)
"
assertEquals
"1"
"
$(
ls
-1
$cache
/node_modules/0.10.1
7
|
wc
-l
)
"
}
}
## utils ########################################
## utils ########################################
...
...
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