aboutsummaryrefslogtreecommitdiff
path: root/rpc_test.go
diff options
context:
space:
mode:
authorDimitri Sokolyuk <demon@dim13.org>2016-04-04 01:33:02 +0200
committerDimitri Sokolyuk <demon@dim13.org>2016-04-04 01:33:02 +0200
commite4324fd473bf878306b3df387bd1bea08cdd604c (patch)
treef3005edbe48d10ed1958d8eef399cc51a0f70a7f /rpc_test.go
parentb9b8a680bae0590bfaeb954aee56b2057db41b1a (diff)
kiss
Diffstat (limited to 'rpc_test.go')
-rw-r--r--rpc_test.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/rpc_test.go b/rpc_test.go
index 6e23b45..73e65ed 100644
--- a/rpc_test.go
+++ b/rpc_test.go
@@ -3,7 +3,7 @@ package goxy
import "testing"
func TestErrNoHost(t *testing.T) {
- e := Entry{
+ e := Route{
Host: "http://whatever",
}
if err := add(e); err == nil || err.Error() != ErrNoHost.Error() {
@@ -12,7 +12,7 @@ func TestErrNoHost(t *testing.T) {
}
func TestErrNoCert(t *testing.T) {
- e := Entry{
+ e := Route{
Host: "https://whatever",
Upstream: "http://whateverelse",
Cert: []byte("dummy"),