12 lines
236 B
Go
12 lines
236 B
Go
package main
|
|
|
|
import "testing"
|
|
|
|
func Test(t *testing.T) {
|
|
m := newMediaElement("Misfits - S02E03 - EN FORCED")
|
|
result := "Misfits - S02E03 EN FORCED"
|
|
if m.Path() != result {
|
|
t.Error("Expected " + result + ", got " + m.Path())
|
|
}
|
|
}
|