Skip to content

Commit 0f093e2

Browse files
committed
rc.2
1 parent d4be7fa commit 0f093e2

6 files changed

Lines changed: 15 additions & 12 deletions

File tree

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "headroom-desktop",
3-
"version": "0.5.0-rc.1",
3+
"version": "0.5.0-rc.2",
44
"private": true,
55
"type": "module",
66
"scripts": {

src-tauri/Cargo.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src-tauri/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "headroom-desktop"
3-
version = "0.5.0-rc.1"
3+
version = "0.5.0-rc.2"
44
description = "Headroom v1 local-first LLM optimization tray app"
55
authors = ["Codex"]
66
license = "MIT"

src-tauri/src/lib.rs

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6369,8 +6369,8 @@ Some unrelated content.
63696369
assert_eq!(first.bullets.len(), 2);
63706370
}
63716371

6372-
#[test]
6373-
fn delete_applied_pattern_removes_one_bullet_and_keeps_section() {
6372+
#[tokio::test]
6373+
async fn delete_applied_pattern_removes_one_bullet_and_keeps_section() {
63746374
let tmp = tempfile::tempdir().expect("tempdir");
63756375
write_claude_md_with_headroom_block(tmp.path());
63766376

@@ -6380,6 +6380,7 @@ Some unrelated content.
63806380
"First Section".into(),
63816381
"First bullet.".into(),
63826382
)
6383+
.await
63836384
.expect("delete bullet");
63846385

63856386
let result = read_applied_patterns_for_project(tmp.path().to_str().unwrap());
@@ -6395,8 +6396,8 @@ Some unrelated content.
63956396
);
63966397
}
63976398

6398-
#[test]
6399-
fn delete_applied_pattern_drops_last_section_and_keeps_block_parseable() {
6399+
#[tokio::test]
6400+
async fn delete_applied_pattern_drops_last_section_and_keeps_block_parseable() {
64006401
// Regression: deleting the last bullet in the last section used to
64016402
// truncate the block's trailing end marker, leaving the file
64026403
// unparseable. After the fix, the block must still be reparseable
@@ -6410,6 +6411,7 @@ Some unrelated content.
64106411
"Second Section".into(),
64116412
"Third bullet.".into(),
64126413
)
6414+
.await
64136415
.expect("delete bullet");
64146416

64156417
let result = read_applied_patterns_for_project(tmp.path().to_str().unwrap());
@@ -6438,8 +6440,8 @@ Some unrelated content.
64386440
);
64396441
}
64406442

6441-
#[test]
6442-
fn delete_applied_pattern_rejects_unknown_file_kind() {
6443+
#[tokio::test]
6444+
async fn delete_applied_pattern_rejects_unknown_file_kind() {
64436445
let tmp = tempfile::tempdir().expect("tempdir");
64446446
write_claude_md_with_headroom_block(tmp.path());
64456447

@@ -6449,6 +6451,7 @@ Some unrelated content.
64496451
"First Section".into(),
64506452
"First bullet.".into(),
64516453
)
6454+
.await
64526455
.expect_err("unknown file_kind rejected");
64536456
assert!(
64546457
err.contains("Unknown file_kind"),

src-tauri/tauri.conf.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"$schema": "https://schema.tauri.app/config/2",
33
"productName": "Headroom",
4-
"version": "0.5.0-rc.1",
4+
"version": "0.5.0-rc.2",
55
"identifier": "com.extraheadroom.headroom",
66
"build": {
77
"beforeDevCommand": "npm run dev",

0 commit comments

Comments
 (0)