go test

  1. 运行指定的test 单元测试函数
  2. go test -mod=vendor mount_test.go mount_linux.go mount.go -run TestParseMountInfo 
    

      

 

posted on 2025-02-27 15:46  running-fly  阅读(5)  评论(0)    收藏  举报

导航