From ec31c1fa7f6b11eb11df9e6c64c109cae0af57c5 Mon Sep 17 00:00:00 2001 From: Darien Raymond Date: Wed, 2 Dec 2015 16:18:12 +0000 Subject: [PATCH] remove common/net unit test back. --- common/net/{testing/unit => }/address_test.go | 2 +- common/net/{testing/unit => }/destination_test.go | 2 +- common/net/testing/unit/unit.go | 3 --- common/net/{testing/unit => }/transport_test.go | 2 +- 4 files changed, 3 insertions(+), 6 deletions(-) rename common/net/{testing/unit => }/address_test.go (99%) rename common/net/{testing/unit => }/destination_test.go (97%) delete mode 100644 common/net/testing/unit/unit.go rename common/net/{testing/unit => }/transport_test.go (99%) diff --git a/common/net/testing/unit/address_test.go b/common/net/address_test.go similarity index 99% rename from common/net/testing/unit/address_test.go rename to common/net/address_test.go index 7a7f566a0..611024fc2 100644 --- a/common/net/testing/unit/address_test.go +++ b/common/net/address_test.go @@ -1,4 +1,4 @@ -package unit +package net_test import ( "net" diff --git a/common/net/testing/unit/destination_test.go b/common/net/destination_test.go similarity index 97% rename from common/net/testing/unit/destination_test.go rename to common/net/destination_test.go index badffaf61..391ebe5c1 100644 --- a/common/net/testing/unit/destination_test.go +++ b/common/net/destination_test.go @@ -1,4 +1,4 @@ -package unit +package net_test import ( "testing" diff --git a/common/net/testing/unit/unit.go b/common/net/testing/unit/unit.go deleted file mode 100644 index 45dbef42f..000000000 --- a/common/net/testing/unit/unit.go +++ /dev/null @@ -1,3 +0,0 @@ -package unit - -// Placeholder. Golang doesn't like folders full of test files. diff --git a/common/net/testing/unit/transport_test.go b/common/net/transport_test.go similarity index 99% rename from common/net/testing/unit/transport_test.go rename to common/net/transport_test.go index f0d65060f..4df1db023 100644 --- a/common/net/testing/unit/transport_test.go +++ b/common/net/transport_test.go @@ -1,4 +1,4 @@ -package unit +package net_test import ( "bytes"