Skip to content

Commit

Permalink
fix decodestream unit test
Browse files Browse the repository at this point in the history
  • Loading branch information
sigrdrifa committed Nov 24, 2023
1 parent 1ed6863 commit 029d4e6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions test/DecodeStreamCmdSpec.hs
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,9 @@ spec :: Spec
spec =
describe "Tests the decoding stream command functionality" $ do
context
"when passing it an decode stream command targeting the sample1_stream_out.wav test file" $
it "should return an result that encoded the decoded all of the frames" $ do
let inputFile = "test/output/sample1_stream_out.wav"
"when passing it an decode stream command targeting the sample2_stream_in.wav test file" $
it "should return a result that decoded all of the encoded frames" $ do
let inputFile = "test/corpus/sample2_stream_in.wav"
let encodeCmd = DecodeStream "test-secret" 5 inputFile
result <- interpretCmd encodeCmd
result `shouldBe` CmdSuccess
Binary file added test/corpus/sample2_stream_in.wav
Binary file not shown.

0 comments on commit 029d4e6

Please sign in to comment.