Skip to content

Commit

Permalink
One last tweak to tests
Browse files Browse the repository at this point in the history
Work done for #196
  • Loading branch information
atruskie committed Mar 30, 2020
1 parent fd5162f commit 074e24f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/Acoustics.Test/Tools/AudioUtilityMp3Tests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -36,9 +36,9 @@ public void SegmentsMp3NotAvailableOnOsxWithSox()
() => util.Info(source),
"cannot be processed. Valid formats are: wav (audio/wav), flac (audio/flac).");

Assert.ThrowsException<AudioFormatNotSupportedException>(
Assert.ThrowsException<NotSupportedException>(
() => util.Modify(source, MediaTypes.GetMediaType(source.Extension), output, MediaTypes.GetMediaType(output.Extension), request),
"Working with MP3 in SoX is not supported on OSX.");
"cannot be processed. Valid formats are: wav (audio/wav), flac (audio/flac)");
}

[PlatformSpecificTestMethod(NotOSX)]
Expand Down

0 comments on commit 074e24f

Please sign in to comment.