nhs-number-cli 0.3.0

Command line tool that validates United Kingdom (UK) National Health Service (NHS) Numbers, one per line, from standard input.
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
//! Configuration test of the `confy` crate for the application.
//!
//! Our source code convention is using this file `confy.rs`
//! in order to test configuration file loading and parsing.
//!
//! See also the project file `config.rs` for our `Config` struct.

#[cfg(test)]
mod tests {
    use crate::app::config::Config;

    #[test]
    fn test_confy() {
        let config: Config = ::confy::load(env!("CARGO_PKG_NAME"), None).unwrap();
        dbg!(config);
    }

}