From: Hraban Luyat Date: Thu, 9 Jul 2015 16:38:02 +0000 (+0000) Subject: Better names for stream unit tests X-Git-Tag: v2.0.0~90 X-Git-Url: http://www.git.stargrave.org/?a=commitdiff_plain;h=252bb7dabec113f8d6412f32e561d9bd2d5df8dd;p=go-opus.git Better names for stream unit tests --- 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 {