We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent aacd3bb commit 4cef6e5Copy full SHA for 4cef6e5
test.js
@@ -71,3 +71,16 @@ tape('read from http flickr', function (t) {
71
})
72
73
74
+
75
+tape('read from http soundcloud', function (t) {
76
+ t.plan(3)
77
+ var popeye = rahttp('http://ec-media.sndcdn.com/n3XThRUZN9E3?f10880d39085a94a0418a7ef61b03d5275edf83695e0cd6a5a31b904eeb57c5c37df72c67f624eac5cc7b9148a7732949a7077380d09e4681abff62837')
78
+ var length = 10
79
+ popeye.read(30, 10, function (err, buf) {
80
+ t.error(err, 'url read without error')
81
+ t.equal(buf.length, length)
82
+ popeye.close(function (err) {
83
+ t.error(err, 'url closed without error')
84
+ })
85
86
+})
0 commit comments