Skip to content
This repository has been archived by the owner on Dec 3, 2023. It is now read-only.

Commit

Permalink
test: update
Browse files Browse the repository at this point in the history
  • Loading branch information
Kikobeats committed May 16, 2019
1 parent dfed31a commit fd31af8
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions test/getInfo.js
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ vows
assert.equal(info.length, 2)

assert.equal(info[0].id, '90AiXO1pAiA')
assert.equal(info[0].format_id, '18')
assert.equal(info[0].format_id, '43')
assert.equal(info[0].title, 'lol')
assert.isString(info[0].url)
assert.isString(info[0].thumbnail)
Expand All @@ -118,10 +118,10 @@ vows
'Filmed in 2003 before Youtube was invented. ' +
'This is also the original I find it hilarious that there are copycat videos!'
)
assert.equal(info[0]._filename, 'lol-90AiXO1pAiA.mp4')
assert.equal(info[0].width, 480)
assert.equal(info[0]._filename, 'lol-90AiXO1pAiA.webm')
assert.equal(info[0].width, 640)
assert.equal(info[0].height, 360)
assert.equal(info[0].format, '18 - 480x360 (medium)')
assert.equal(info[0].format, '43 - 640x360 (medium)')
assert.equal(info[0]._duration_raw, 11)
assert.equal(info[0]._duration_hms, '00:00:11')
assert.equal(info[0].duration, '11')
Expand Down
2 changes: 1 addition & 1 deletion test/playlist.js
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ vows
assert.equal(data[1].progress, 1)
assert.equal(
data[1].data._filename,
'LA REGAÑADA DEL MILENIO.wmv-SITuxqDUjPI.mp4'
'LA REGAÑADA DEL MILENIO.wmv-SITuxqDUjPI.webm'
)

function fileExists (data) {
Expand Down

0 comments on commit fd31af8

Please sign in to comment.