Skip to content

Commit 4acdc2f

Browse files
committed
fix: tests and dependencies
1 parent aa52e4e commit 4acdc2f

File tree

4 files changed

+36
-66
lines changed

4 files changed

+36
-66
lines changed

Cargo.lock

Lines changed: 34 additions & 61 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ description = "Comprehensive SDK for OCA Bundle management and integration"
1010
lazy_static = "1.5.0"
1111
oca-ast = { version = "2.0.0-rc2", path = "../oca-rs/oca-ast" }
1212
oca-bundle= { version = "2.0.0-rc2", path = "../oca-rs/oca-bundle" }
13-
oca-rs = { version = "0.7.1" }
13+
oca-rs = { version = "2.0.0-rc2", path = "../oca-rs/oca" }
1414
serde = { version = "1.0", features = ["derive"] }
1515
serde_json = "1.0"
1616
transformation-file = { version = "0.7.1" }

tests/assets/semantics/entrance_credential.ocafile

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,3 @@ ADD META en PROPS name="Entrance credential" description="Entrance credential"
55
ADD CHARACTER_ENCODING ATTRS d=utf-8 i=utf-8 passed=utf-8
66
ADD CONFORMANCE ATTRS d=M i=M passed=M
77
ADD LABEL en ATTRS d="Schema digest" i="Credential Issuee" passed="Passed"
8-
ADD INFORMATION en ATTRS d="Schema digest" i="Credential Issuee" passed="Enables or disables passing"

tests/captured_data_validation.rs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,14 +15,12 @@ fn building_from_ocafile() -> Result<(), Box<dyn std::error::Error>> {
1515
let oca_bundle = build_from_ocafile(ocafile_str).unwrap();
1616
assert_eq!(
1717
oca_bundle.said.clone().unwrap().to_string(),
18-
"EEYimqMic0XCbGovyXRIxmXh0pjkWdxZUGp2TJ5XQHhU"
18+
"EL7Qhl-wWldmBoJ0-sx35EL4gRXDQixm69zOphfwySfG"
1919
);
2020

2121
oca_bundle.info().attributes().for_each(|attr| {
2222
println!("{:?}", attr);
2323
});
24-
println!("links: {:?}", oca_bundle.info().links);
25-
println!("framings: {:?}", oca_bundle.info().framings);
2624
println!("{}", oca_bundle.get_json_bundle());
2725

2826
Ok(())

0 commit comments

Comments
 (0)