use std::{collections::HashMap, path::PathBuf};
use aok::{Result, OK};
use static_init::constructor;
use verfs::latest_ver;
#[constructor(0)]
extern "C" fn init() {
loginit::init()
}
#[test]
fn test() -> Result<()> {
let dir: PathBuf = env!("CARGO_MANIFEST_DIR").into();
let yml = dir.join("tests/test.yml");
let mut hash = HashMap::new();
let r = latest_ver(&yml, &mut hash)?;
dbg!(r);
OK
}