Skip to content

Commit

Permalink
fix broken tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Jan Karres committed Nov 11, 2018
1 parent 7153bf0 commit 7229cc3
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions test/tests.js
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,8 @@ testCase("Lame class", () => {
return instance.encode().catch(error => {
errorCaught = true;

const expected = "lame: Warning: unsupported audio format";
const expected =
"lame: Warning: unsupported audio format\nCan't init infile './test/notAWavFile.wav'";
const actuall = error.message;

assert.equal(actuall, expected);
Expand Down Expand Up @@ -360,7 +361,8 @@ testCase("Lame class", () => {
return instance.encode().catch(error => {
errorCaught = true;

const expected = "lame: Warning: unsupported audio format";
const expected =
"lame: Warning: unsupported audio format\nCan't init infile './test/notAWavFile.wav'";
const actuall = error.message;

assert.equal(actuall, expected);
Expand Down

0 comments on commit 7229cc3

Please sign in to comment.