restores Helder in all its glory

This commit is contained in:
2026-09-28 11:34:49 +02:00
parent c2b38b853c
commit 1d29d0952d
280 changed files with 29205 additions and 7 deletions
@@ -0,0 +1,14 @@
import HelderCore
import Testing
@Suite struct ProjectTitleTests {
@Test func readsAppNameAndStripsQuotes() {
#expect(ProjectTitle.appName(fromEnv: "APP_ENV=local\nAPP_NAME=\"Loopt Shop\"\n") == "Loopt Shop")
#expect(ProjectTitle.appName(fromEnv: "APP_NAME='x'") == "x")
}
@Test func ignoresCommentsAndEmptyValues() {
#expect(ProjectTitle.appName(fromEnv: "# APP_NAME=nope\nAPP_NAME=") == nil)
#expect(ProjectTitle.title(folderName: "odynt", envContents: nil) == "odynt")
}
}