docs(readme): refresh test count 136 -> 245
Some checks failed
check / cargo check (macos-latest) (push) Has been cancelled
check / cargo check (ubuntu-22.04) (push) Has been cancelled
check / cargo check (windows-latest) (push) Has been cancelled
check / svelte build + lint (push) Has been cancelled

This commit is contained in:
2026-04-24 09:52:47 +01:00
parent 4e947dec21
commit 4700668df1
2 changed files with 3 additions and 7 deletions

View File

@@ -11,7 +11,7 @@ Kon is a local-first, cognitive-load-aware dictation and task-capture desktop ap
**Pre-alpha.** Actively dogfooded on Linux (KDE Plasma 6 on Wayland). macOS and Windows targets are in scope and exercised by CI, but not yet beta-ready. One primary user; open source-intent with licence TBD before public beta.
- Current `main`: see commit log
- 136 automated lib tests across 10 crates, all passing
- 245 automated lib tests across 10 crates, all passing
- Cross-platform CI (Linux / macOS / Windows) via GitHub Actions
---
@@ -288,7 +288,7 @@ CI also builds release installers on tag push (see `.github/workflows/build.yml`
### Testing
```bash
cargo test --workspace --lib # 136 tests across 10 crates
cargo test --workspace --lib # 245 tests across 10 crates
npm run check # svelte-check (type-checks .svelte files)
cargo check --workspace --all-targets
```

View File

@@ -277,11 +277,7 @@ fn device_display_name(device: &cpal::Device) -> Option<String> {
/// `pipewire` / `default` → `None`
fn extract_card_id(name: &str) -> Option<&str> {
let rest = name.split("CARD=").nth(1)?;
Some(
rest.split([',', ';'])
.next()
.unwrap_or(rest),
)
Some(rest.split([',', ';']).next().unwrap_or(rest))
}
/// Read `/proc/asound/cards` and return a map from ALSA card short name