import Foundation import Testing @testable import OrgCore struct CompletionTests { static let oracle = ProcessInfo.processInfo.environment["ORGSTAR_SKIP_ORACLE"] == nil func complete(_ text: String, _ caret: Int? = nil, knownTags: [String] = []) -> Completion? { let caret = caret ?? text.utf16.count let context = EditContext(revision: 0, text: text, tree: OrgParser.parse(text), selection: [caret..