luff 0.2.1

Print files with formatting
Documentation
//! Common test utilities

use std::path::Path;
use tempfile::TempDir;

/// Test fixture for creating temporary file structures
pub struct TestFixture {
    temp_dir: TempDir,
}

impl TestFixture {
    pub fn new() -> Self {
        Self {
            temp_dir: TempDir::new().expect("Failed to create temp dir"),
        }
    }

    #[allow(dead_code)]
    pub fn root(&self) -> &Path {
        self.temp_dir.path()
    }
}