Skip to content

Commit 75df683

Browse files
fix: remove orphaned new_unconfigured test helper
Missed in 3520dc7 — the #[cfg(test)] helper had no remaining callers after the test revert, causing tarpaulin to fail with dead_code. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent ff5817b commit 75df683

1 file changed

Lines changed: 0 additions & 13 deletions

File tree

crates/mt-tauri/src/lastfm/client.rs

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -24,19 +24,6 @@ impl LastFmClient {
2424
}
2525
}
2626

27-
#[cfg(test)]
28-
pub(crate) fn new_unconfigured() -> Self {
29-
Self {
30-
config: ApiKeyConfig {
31-
api_key: None,
32-
api_secret: None,
33-
},
34-
rate_limiter: Arc::new(RateLimiter::new()),
35-
http_client: reqwest::Client::new(),
36-
base_url: "https://ws.audioscrobbler.com/2.0/".to_string(),
37-
}
38-
}
39-
4027
/// Check if API is properly configured
4128
pub(crate) fn is_configured(&self) -> bool {
4229
self.config.is_configured()

0 commit comments

Comments
 (0)