From d8d61312d5a379cd663887ea34ade5f4a363bd58 Mon Sep 17 00:00:00 2001 From: MacRat Date: Thu, 8 Feb 2024 20:34:29 +0900 Subject: [PATCH] test: fix snapshot test --- builder/minify_test.go | 38 ++++++++++++++++++++++++++++++++++---- 1 file changed, 34 insertions(+), 4 deletions(-) diff --git a/builder/minify_test.go b/builder/minify_test.go index b3e2cbf1..aae28340 100644 --- a/builder/minify_test.go +++ b/builder/minify_test.go @@ -79,14 +79,29 @@ func TestHoistingHTML(t *testing.T) { ` Hoisting`, ` `, ` `, - ` `, + ` `, ` `, `

Hoisting

`, `

Hoisting for HTML!

`, ` `, ` `, ` `, - ``, + ``, }, "\n"), }, { @@ -129,14 +144,29 @@ func TestHoistingHTML(t *testing.T) { ` `, ` `, ` `, - ` `, + ` `, ` `, `

Hoisting

`, `

Hoisting for HTML!

`, ` `, ` `, ` `, - ``, + ``, }, "\n"), }, }