mirror of
https://github.com/pezkuwichain/revive-differential-tests.git
synced 2026-11-09 04:07:14 +00:00
the metadata parser
Signed-off-by: Cyrill Leutwiler <bigcyrill@hotmail.com>
This commit is contained in:
9 files changed
+1921
-11
No files matched your search
@@ -1,9 +1,9 @@
|
||||
use revive_differential_testing_format::case::Case;
|
||||
use revive_differential_testing_format::metadata::Metadata;
|
||||
|
||||
fn main() {
|
||||
let example_def = include_str!("../../../test.json");
|
||||
|
||||
let case: Case = serde_json::from_str(example_def).unwrap();
|
||||
let metadata: Metadata = serde_json::from_str(example_def).unwrap();
|
||||
|
||||
println!("{case:?}");
|
||||
println!("{metadata:?}");
|
||||
}
|
||||
Reference in new issue
Block a user