15 lines
162 B
Go
Raw Normal View History

2020-04-21 22:50:21 +08:00
package proxy
import "testing"
func TestProxy(t *testing.T) {
var sub Subject
sub = &Proxy{}
res := sub.Do()
if res != "pre:real:after" {
t.Fail()
}
}