krz/orgstar

A native macOS editor for org-mode files. editor org-mode swift

Commit 674e78e4e2

674e78e4e29acff24acda0a527201a0ccbd38284

parent: d07ba5a707

Verified · cmc

cmc <hello@cleberg.net> · 2026-10-04 23:36 UTC

Build document models in fuzz and corpus tests

Layout: unified · split

Tests/OrgCoreTests/RoundTripTests.swift +2
@@ -45,6 +45,7 @@ struct RoundTripTests {
4545 let tree = OrgParser.parse(text)
4646 #expect(tree.text == text, "document \(n)")
4747 #expect(checkLengths(tree.root), "document \(n)")
48 _ = DocumentModel(tree: tree)
4849 }
4950 }
5051
@@ -74,6 +75,7 @@ struct RoundTripTests {
7475 let source = SourceText(bytes: bytes)
7576 let tree = OrgParser.parse(source.text)
7677 #expect(source.encode(tree.text) == bytes, "\(file.path)")
78 _ = DocumentModel(tree: tree)
7779 }
7880 }
7981}