steamlocate 2.0.0-beta.3

Crate for locating Steam game installation directories (and Steam itself!)
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
use super::{
    helpers::{SampleApp, TempSteamDir},
    TestResult,
};

// Context: https://github.com/WilliamVenner/steamlocate-rs/issues/58
#[test]
fn app_lastupdated_casing() -> TestResult {
    let sample_app = SampleApp::Resonite;
    let temp_steam_dir = TempSteamDir::builder().app(sample_app.into()).finish()?;
    let steam_dir = temp_steam_dir.steam_dir();

    let (app, _library) = steam_dir.find_app(sample_app.id())?.unwrap();
    // Last updated _should_ be `Some(_)` for this app even though it uses lowercase casing
    let _ = app.last_updated.unwrap();

    Ok(())
}