@@ -81,7 +81,7 @@ app = ace.app("testApp", custom_layout=True, routes = [ace.html("/")],
8181
8282 data , err = workFS .ReadFile ("style/tailwind.config.js" )
8383 testutil .AssertNoError (t , err )
84- testutil .AssertStringMatch (t , "tailwind.config.js" , `module.exports = { content: ['action/*.go.html', '*.go.html', 'base_templates/*.go.html'], theme: { extend: {}, }, plugins: [ ], }` , string (data ))
84+ testutil .AssertStringMatch (t , "tailwind.config.js" , `module.exports = { content: ['action/*.go.html', '*.go.html', 'base_templates/*.go.html', 'static/*.js' ], theme: { extend: {}, }, plugins: [ ], }` , string (data ))
8585}
8686
8787func TestStyleDaisyUI (t * testing.T ) {
@@ -103,7 +103,7 @@ app = ace.app("testApp", custom_layout=True, routes = [ace.html("/")],
103103
104104 data , err = workFS .ReadFile ("style/tailwind.config.js" )
105105 testutil .AssertNoError (t , err )
106- testutil .AssertStringMatch (t , "tailwind.config.js" , `module.exports = { content: ['action/*.go.html', '*.go.html', 'base_templates/*.go.html'], theme: { extend: {}, }, plugins: [ require("daisyui") ], daisyui: { themes: ["emerald", "night"], }, }` , string (data ))
106+ testutil .AssertStringMatch (t , "tailwind.config.js" , `module.exports = { content: ['action/*.go.html', '*.go.html', 'base_templates/*.go.html', 'static/*.js' ], theme: { extend: {}, }, plugins: [ require("daisyui") ], daisyui: { themes: ["emerald", "night"], }, }` , string (data ))
107107}
108108
109109func TestStyleDaisyUIThemes (t * testing.T ) {
@@ -125,7 +125,7 @@ app = ace.app("testApp", custom_layout=True, routes = [ace.html("/")],
125125
126126 data , err = workFS .ReadFile ("style/tailwind.config.js" )
127127 testutil .AssertNoError (t , err )
128- testutil .AssertStringMatch (t , "tailwind.config.js" , `module.exports = { content: ['action/*.go.html', '*.go.html', 'base_templates/*.go.html'], theme: { extend: {}, }, plugins: [ require("daisyui") ], daisyui: { themes: ["cupcake", "dark", "emerald", "night"], }, }` , string (data ))
128+ testutil .AssertStringMatch (t , "tailwind.config.js" , `module.exports = { content: ['action/*.go.html', '*.go.html', 'base_templates/*.go.html', 'static/*.js' ], theme: { extend: {}, }, plugins: [ require("daisyui") ], daisyui: { themes: ["cupcake", "dark", "emerald", "night"], }, }` , string (data ))
129129}
130130
131131func TestStyleDaisyUILight (t * testing.T ) {
@@ -147,7 +147,7 @@ app = ace.app("testApp", custom_layout=True, routes = [ace.html("/")],
147147
148148 data , err = workFS .ReadFile ("style/tailwind.config.js" )
149149 testutil .AssertNoError (t , err )
150- testutil .AssertStringMatch (t , "tailwind.config.js" , `module.exports = { content: ['action/*.go.html', '*.go.html', 'base_templates/*.go.html'], theme: { extend: {}, }, plugins: [ require("daisyui") ], daisyui: { themes: ["abc", "cupcake", "xyz"], }, }` , string (data ))
150+ testutil .AssertStringMatch (t , "tailwind.config.js" , `module.exports = { content: ['action/*.go.html', '*.go.html', 'base_templates/*.go.html', 'static/*.js' ], theme: { extend: {}, }, plugins: [ require("daisyui") ], daisyui: { themes: ["abc", "cupcake", "xyz"], }, }` , string (data ))
151151}
152152
153153func TestStyleCustom (t * testing.T ) {
0 commit comments