Skip to content

Commit eec8649

Browse files
author
Cam Pedersen
committed
[test] add .get() test
1 parent 7971cad commit eec8649

File tree

2 files changed

+10
-0
lines changed

2 files changed

+10
-0
lines changed

test/get.js

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
var scp = require('../');
2+
3+
scp.get({
4+
file: '~/test',
5+
host: 'core',
6+
path: './test/what'
7+
}, function () {
8+
console.log(arguments);
9+
});

test/what

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
it worked!

0 commit comments

Comments
 (0)