mecha10-cli 0.1.47

Mecha10 CLI tool
Documentation
// Tests for mecha10_cli::handlers::quality

use mecha10_cli::handlers::quality::*;

#[test]
fn test_quality_args() {
    let args = QualityArgs {
        fix: true,
        check_only: false,
    };

    assert!(args.fix);
    assert!(!args.check_only);
}

#[test]
fn test_quality_args_check_only() {
    let args = QualityArgs {
        fix: false,
        check_only: true,
    };

    assert!(!args.fix);
    assert!(args.check_only);
}