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

Correct tests #210

Merged
merged 5 commits into from
Dec 17, 2018
Merged

Correct tests #210

merged 5 commits into from
Dec 17, 2018

Conversation

navispeed
Copy link
Contributor

Some test were corrected :

  • Twitch video's info were changed on twitch
  • Remove size assert in dowload test without specified format
  • Some other minor correction

Question : What about getInfo->'from a youtube array of videos with one missing', one video is now unreachable on YT, so youtube-dl exit 1. What is the excepted result ?

@@ -173,7 +173,8 @@ function call(urls, args1, args2, options, callback) {
}
}
} else {
args.push('--');
if (i === 0)
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you explain why this change is necessary? I don't understand it 🙂

@@ -96,7 +96,7 @@ vows.describe('download').addBatch({
assert.equal(progress, 1);
assert.isObject(data);
assert.equal(data.id, 'AW8OOp2undg');
assert.equal(data.size, 34289);
// assert.equal(data.size, 49550); // No relevant, can be change through time
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why not remove it directly?

@@ -51,7 +51,7 @@ vows.describe('getInfo').addBatch({
});
}
},
'from a youtube array of videos with one missing': {
/*'from a youtube array of videos with one missing': {
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Happy to remove it if it is not useful

@Kikobeats
Copy link
Collaborator

Thanks for that! feeling we need to merge it.

Just review the change, waiting your replies 🙂

@Kikobeats Kikobeats merged commit 4bdcf7a into przemyslawpluta:master Dec 17, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants