mirror of
https://github.com/MillironX/Kelpie.jl.git
synced 2024-11-14 13:43:08 +00:00
Add test for Bootstrap starter template
Signed-off-by: Thomas A. Christensen II <25492070+MillironX@users.noreply.github.com>
This commit is contained in:
parent
8646a0ff63
commit
403d34f4ce
1 changed files with 28 additions and 0 deletions
|
@ -172,4 +172,32 @@ end #function
|
|||
@testset "Doctests" begin
|
||||
doctest(Kelpie)
|
||||
end #testset
|
||||
|
||||
@testset "Frameworks" begin
|
||||
bootstrap_kelpie = html(
|
||||
head(
|
||||
meta(; charset="utf-8"),
|
||||
meta(; name="viewport", content="width=device-width, initial-scale=1"),
|
||||
link(;
|
||||
href="https://cdn.jsdelivr.net/npm/bootstrap@5.1.3/dist/css/bootstrap.min.css",
|
||||
rel="stylesheet",
|
||||
integrity="sha384-1BmE4kWBq78iYhFldvKuhfTAU6auU8tT94WrHftjDbrCEXSU1oBoqyl2QvZ6jIW3",
|
||||
crossorigin="anonymous",
|
||||
),
|
||||
title("Hello, world!"),
|
||||
),
|
||||
body(
|
||||
h1("Hello, world!"),
|
||||
script(
|
||||
"";
|
||||
src="https://cdn.jsdelivr.net/npm/bootstrap@5.1.3/dist/js/bootstrap.bundle.min.js",
|
||||
integrity="sha384-ka7Sk0Gln4gmtz2MlQnikT1wXgYsOg+OMhuP+IlRH9sENBO0LRn5q+8nbTov4+1p",
|
||||
crossorigin="anonymous",
|
||||
),
|
||||
);
|
||||
lang="en",
|
||||
)
|
||||
|
||||
@test prettystring(bootstrap_kelpie) == bootstrap_starter()
|
||||
end #testset
|
||||
end #testset
|
||||
|
|
Loading…
Reference in a new issue