feat: Working on documentation
All checks were successful
CI / Run tests. (push) Successful in 58s

This commit is contained in:
2024-12-09 09:35:17 -05:00
parent 78a632c3e5
commit 875b1980e0
9 changed files with 100 additions and 8 deletions

View File

@@ -22,6 +22,26 @@ struct CliDocCoreTests {
}
}
#expect(group.render() == "foobar\("baz".blue)")
let group2 = Group {
VStack {
"My headline."
"Some text."
}
"\n"
HStack {
"Foo"
"Bar"
}
}
.color(.green)
print(group2.render())
#expect(group2.render() == """
My headline.
Some text.
Foo Bar
""".green)
}
@Test