From 533ff91881ede5e10346a230f6da08beeeb73b41 Mon Sep 17 00:00:00 2001 From: Vishal Rana Date: Mon, 18 May 2015 13:41:50 -0700 Subject: [PATCH] Changed examples, web > website Signed-off-by: Vishal Rana --- echo_test.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/echo_test.go b/echo_test.go index 3119eeb9..beb2d4b8 100644 --- a/echo_test.go +++ b/echo_test.go @@ -30,7 +30,7 @@ func TestEchoMaxParam(t *testing.T) { func TestEchoIndex(t *testing.T) { e := New() - e.Index("examples/web/public/index.html") + e.Index("examples/website/public/index.html") w := httptest.NewRecorder() r, _ := http.NewRequest(GET, "/", nil) e.ServeHTTP(w, r) @@ -41,7 +41,7 @@ func TestEchoIndex(t *testing.T) { func TestEchoFavicon(t *testing.T) { e := New() - e.Favicon("examples/web/public/favicon.ico") + e.Favicon("examples/website/public/favicon.ico") w := httptest.NewRecorder() r, _ := http.NewRequest(GET, "/favicon.ico", nil) e.ServeHTTP(w, r) @@ -52,7 +52,7 @@ func TestEchoFavicon(t *testing.T) { func TestEchoStatic(t *testing.T) { e := New() - e.Static("/scripts", "examples/web/public/scripts") + e.Static("/scripts", "examples/website/public/scripts") w := httptest.NewRecorder() r, _ := http.NewRequest(GET, "/scripts/main.js", nil) e.ServeHTTP(w, r)