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()) } }