瀏覽代碼

remove common/net unit test back.

Darien Raymond 10 年之前
父節點
當前提交
ec31c1fa7f
共有 4 個文件被更改,包括 3 次插入6 次删除
  1. 1 1
      common/net/address_test.go
  2. 1 1
      common/net/destination_test.go
  3. 0 3
      common/net/testing/unit/unit.go
  4. 1 1
      common/net/transport_test.go

+ 1 - 1
common/net/testing/unit/address_test.go → common/net/address_test.go

@@ -1,4 +1,4 @@
-package unit
+package net_test
 
 import (
 	"net"

+ 1 - 1
common/net/testing/unit/destination_test.go → common/net/destination_test.go

@@ -1,4 +1,4 @@
-package unit
+package net_test
 
 import (
 	"testing"

+ 0 - 3
common/net/testing/unit/unit.go

@@ -1,3 +0,0 @@
-package unit
-
-// Placeholder. Golang doesn't like folders full of test files.

+ 1 - 1
common/net/testing/unit/transport_test.go → common/net/transport_test.go

@@ -1,4 +1,4 @@
-package unit
+package net_test
 
 import (
 	"bytes"