فهرست منبع

Fix expected error message in test

Rod Hynes 1 سال پیش
والد
کامیت
a8413df90d
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  1. 1 1
      psiphon/common/inproxy/matcher_test.go

+ 1 - 1
psiphon/common/inproxy/matcher_test.go

@@ -425,7 +425,7 @@ func runTestMatcher() error {
 	close(waitBeforeAnswer)
 
 	err = <-proxyResultChan
-	if err == nil || !strings.HasSuffix(err.Error(), "no client") {
+	if err == nil || !strings.HasSuffix(err.Error(), "no pending answer") {
 		return errors.Tracef("unexpected result: %v", err)
 	}