updates plug with all sorts of awesome improvements

This commit is contained in:
2026-11-09 13:09:09 +01:00
parent a92d6f8871
commit 3afdb6d67f
553 changed files with 22780 additions and 13155 deletions
@@ -0,0 +1,14 @@
import Foundation
import PlakCore
import Testing
@Suite struct WelcomeTextTests {
@Test("the welcome page is the one welcome line in one block, created at the given date")
func page() {
let now = Date(timeIntervalSince1970: 1_793_000_000)
let page = WelcomeText.page(createdAt: now)
#expect(page.lines == [.text("Welcome to plak. For the docs, the tricks and the shortcuts, choose Plak Help in the menu bar icon.")])
#expect(page.blocks.count == 1)
#expect(page.dates == [0: now])
}
}