From 252bb7dabec113f8d6412f32e561d9bd2d5df8dd Mon Sep 17 00:00:00 2001 From: Hraban Luyat Date: Thu, 9 Jul 2015 16:38:02 +0000 Subject: [PATCH] Better names for stream unit tests --- stream_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/stream_test.go b/stream_test.go index 0654a52..0fa444e 100644 --- a/stream_test.go +++ b/stream_test.go @@ -13,7 +13,7 @@ import ( "testing" ) -func TestStream(t *testing.T) { +func TestStreamIllegal(t *testing.T) { // Simple testing, no actual decoding reader := strings.NewReader("hello test test this is not a legal Opus stream") _, err := NewStream(reader) @@ -45,7 +45,7 @@ func readStreamWav(stream *Stream) ([]byte, error) { } } -func TestFile(t *testing.T) { +func TestStream(t *testing.T) { // Simple testing, no actual decoding reader, err := os.Open("testdata/speech_8.opus") if err != nil { -- 2.48.1