You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@dubbo.apache.org by "tiltwind (via GitHub)" <gi...@apache.org> on 2023/05/06 05:44:58 UTC

[GitHub] [dubbo-go-hessian2] tiltwind commented on issue #360: 单测里面使用 log.Fatal 会使得单测直接通过

tiltwind commented on issue #360:
URL: https://github.com/apache/dubbo-go-hessian2/issues/360#issuecomment-1537058796

   In fact, the unit test will fail for process exit.
   
   ```go
   func TestDemo(t *testing.T) {
   	log.Fatal()
   	t.Errorf("unit test fail")
   }
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org
For additional commands, e-mail: notifications-help@dubbo.apache.org