Files
luma--markdown/test/luma_markdown_test.gleam
deck 127a589881
Build and Bundle Gleam App / format (push) Successful in 16s
Build and Bundle Gleam App / build-linux-binaries (push) Failing after 19s
performance upgrade
2026-09-05 20:36:15 +02:00

23 lines
472 B
Gleam

import gleeunit
import helpers
import luma_markdown
pub fn main() -> Nil {
gleeunit.main()
}
// gleeunit test functions end in `_test`
pub fn hello_world_test() {
let name = "Joe"
let greeting = "Hello, " <> name <> "!"
assert greeting == "Hello, Joe!"
}
pub fn renders_plain_and_marked_lines_test() {
let information = helpers.Information(1, 1)
assert luma_markdown.luma_markdown(information, " plain text \n!2 marked")
== "plain text\n**marked"
}