Skip to content

Commit 434afc7

Browse files
committed
Fix broken test
1 parent e8767bf commit 434afc7

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

css_test.go

+4-3
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,11 @@
11
package go_ssr
22

33
import (
4-
"github.com/rs/zerolog"
5-
"github.com/stretchr/testify/assert"
64
"os"
75
"testing"
6+
7+
"github.com/rs/zerolog"
8+
"github.com/stretchr/testify/assert"
89
)
910

1011
func TestEngine_BuildLayoutCSSFile(t *testing.T) {
@@ -27,7 +28,7 @@ func TestEngine_BuildLayoutCSSFile(t *testing.T) {
2728
},
2829
{
2930
name: "should build layout css file with tailwind",
30-
shouldContain: "html {",
31+
shouldContain: "tailwindcss",
3132
config: &Config{
3233
AppEnv: "production",
3334
FrontendDir: "./examples/frontend-tailwind/src",

0 commit comments

Comments
 (0)