Cotton code
16 lines · 776 B · SwiftRaw
import CottonKitimport XCTest@testable import CottonUIfinal class AboutTests: XCTestCase {    // RULE: About reports the installed bundle’s version and build, never the sample release named in the specification.    func testAboutUsesTheInstalledBuildFacts() {        let info = AboutInfo(build: BuildFacts(dsn: "", variant: "Debug", packaged: true,            version: "1.0.0", build: "224"))        XCTAssertEqual(info.build.version, "1.0.0")        XCTAssertTrue(info.buildLine.contains("224"), info.buildLine)        // Tools' foot opens About and names no build: the build is said in        // one form, on the Databases foot (architect, 16 Oct 2026).        XCTAssertFalse(info.footer.contains("1.0.0") || info.footer.contains("224"), info.footer)    }}