Skip to content

Open source Grok Bot alternative, Bring your own agent and subscription: message Claude Code, Codex, Gemini CLI, Cursor, Copilot and 40+ AI agents as bots on your own computer, from iPhone, Mac, Windows, Linux or terminal. Agent-agnostic and free. Also a Muse and Dots alternative. Built in Rust.

501 B
Raw Blame
import Testing
@testable import CodyncUI

@Test func spokenTextDropsMarkdown() {
    let reply = """
    ## Done

    Fixed **the login page** in `LoginView.swift`, see [the PR](https://x.y/1).

    ```swift
    let a = 1
    ```

    - kept `user_id` as is
    | File | Lines |
    |------|-------|
    | a.swift | 3 |
    """
    #expect(SpokenText.from(reply) == """
    Done
    Fixed the login page in LoginView.swift, see the PR.
    kept user_id as is
    File, Lines
    a.swift, 3
    """)
}