all repos — gomponents @ 853044729768d3a52d1aba5c9e081737a5088b11

HTML components in pure Go

internal/import/import_test.go (view raw)

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
package import_test

import (
	"testing"

	. "maragu.dev/gomponents"
	. "maragu.dev/gomponents/components"
	. "maragu.dev/gomponents/html"
	. "maragu.dev/gomponents/http"
)

func TestImports(t *testing.T) {
	t.Run("this is just a test that does nothing, but I need the dot imports above", func(t *testing.T) {
		_ = El("div")
		_ = A()
		_ = HTML5(HTML5Props{})
		_ = Adapt(nil)
	})
}