---
id: TASK-3.4
title: Fix clippy issues in config/schema tests
status: Done
assignee:
  - codex
created_date: '2026-02-23 19:31'
updated_date: '2026-02-23 19:38'
labels:
  - lint
  - tests
dependencies: []
references:
  - src/config/schema.rs
parent_task_id: TASK-3
---

## Description

<!-- SECTION:DESCRIPTION:BEGIN -->
Resolve clippy warnings in config/schema tests (str_to_string, manual_string_new, unwrap_used) by adjusting literals and expectations.
<!-- SECTION:DESCRIPTION:END -->

## Acceptance Criteria
<!-- AC:BEGIN -->
- [x] #1 Config/schema tests no longer trigger str_to_string, manual_string_new, or unwrap_used warnings.
- [x] #2 Tests remain behavior-driven with the same assertions.
<!-- AC:END -->

## Implementation Plan

<!-- SECTION:PLAN:BEGIN -->
1) Replace `to_string()` calls on string literals with `to_owned()`.
2) Replace manual `"".into()` with `String::new()`.
3) Replace `unwrap()` in tests with `expect()`.
4) Run `just check` to confirm clippy is clean.
<!-- SECTION:PLAN:END -->

## Implementation Notes

<!-- SECTION:NOTES:BEGIN -->
Plan approved by user on 2026-02-23.

Replaced literal to_string with to_owned, manual empty strings with String::new, and unwraps with expect in schema tests. `just check` now passes cleanly.
<!-- SECTION:NOTES:END -->
