Skip to content

Commit 766dc23

Browse files
committed
Fix CI test failures and suppress warnings
- Remove ROADMAP.md check from tests (excluded via .gitignore) - Add dead_code allowance for future/unused methods - Fix test to check for essential files that exist in public repo
1 parent bf21318 commit 766dc23

File tree

3 files changed

+5
-1
lines changed

3 files changed

+5
-1
lines changed

src/app.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -842,6 +842,7 @@ impl App {
842842
}
843843
}
844844

845+
#[allow(dead_code)]
845846
pub fn open_wifi_enterprise_dialog_direct(&mut self) {
846847
self.show_wifi_enterprise_dialog = true;
847848
self.enterprise_active_input = 2; // Start with username field

src/network.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
// src/network.rs
2+
#![allow(dead_code)] // Many methods are for future features or CLI mode
23
use anyhow::{Result, Context};
34
use serde::{Deserialize, Serialize};
45
use std::process::Command;

tests/integration_tests.rs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,9 @@ mod unit_tests {
121121
assert!(std::path::Path::new("src/app.rs").exists(), "app.rs should exist");
122122
assert!(std::path::Path::new("src/network.rs").exists(), "network.rs should exist");
123123
assert!(std::path::Path::new("src/ui.rs").exists(), "ui.rs should exist");
124-
assert!(std::path::Path::new("ROADMAP.md").exists(), "ROADMAP.md should exist");
124+
assert!(std::path::Path::new("Cargo.toml").exists(), "Cargo.toml should exist");
125+
assert!(std::path::Path::new("LICENSE").exists(), "LICENSE should exist");
126+
// Note: ROADMAP.md and CLAUDE.md are excluded from public repository via .gitignore
125127
}
126128

127129
#[test]

0 commit comments

Comments
 (0)