You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
18 lines
305 B
18 lines
305 B
3 years ago
|
package id3ed
|
||
|
|
||
|
import (
|
||
|
"os"
|
||
|
"testing"
|
||
|
)
|
||
|
|
||
|
func TestGetID3v1Tags(t *testing.T) {
|
||
|
testfile, err := os.Open("./testData/id3v1.txt")
|
||
|
if err != nil {
|
||
|
t.Errorf("could not open file for testing: %s", err)
|
||
|
}
|
||
|
_, err = GetID3v1Tags(testfile)
|
||
|
if err != nil {
|
||
|
t.Errorf("GetID3v1Tags failed: %s", err)
|
||
|
}
|
||
|
}
|