From d2fd4007819babc04248cc56b5a6c8e8b25b5463 Mon Sep 17 00:00:00 2001 From: Fenny <25108519+Fenny@users.noreply.github.com> Date: Wed, 15 Jul 2020 14:53:57 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=A9=B9=20Fix=20render=20test?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/{single.tmpl => template.html} | 0 ctx_test.go | 2 +- 2 files changed, 1 insertion(+), 1 deletion(-) rename .github/{single.tmpl => template.html} (100%) diff --git a/.github/single.tmpl b/.github/template.html similarity index 100% rename from .github/single.tmpl rename to .github/template.html diff --git a/ctx_test.go b/ctx_test.go index 2434029c..5027ac54 100644 --- a/ctx_test.go +++ b/ctx_test.go @@ -1400,7 +1400,7 @@ func Test_Ctx_Render(t *testing.T) { app := New() ctx := app.AcquireCtx(&fasthttp.RequestCtx{}) defer app.ReleaseCtx(ctx) - err := ctx.Render("./.github/single.tmpl", Map{ + err := ctx.Render("./.github/template.html", Map{ "Title": "Hello, World!", }) utils.AssertEqual(t, nil, err)