acorn-lib 0.3.2

ACORN library
1
2
3
4
5
6
7
8
use super::*;

#[test]
fn with_reference_accepts_the_borrowed_inner_value() {
    let profile = RegistryProfile::default();
    let options = Options::from_repository(&profile, "ai/model").unwrap().with_reference("sha256:abc");
    assert_eq!(options.reference, Some("sha256:abc"));
}