Skip to content

Commit

Permalink
[Rust] add tests for issue #1018
Browse files Browse the repository at this point in the history
  • Loading branch information
wbprime committed Oct 31, 2024
1 parent 3d35c50 commit 8b40950
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions rust/tests/baseline_test.rs
Original file line number Diff line number Diff line change
Expand Up @@ -266,3 +266,10 @@ fn encode_car_from_scratch() -> SbeResult<(usize, Vec<u8>)> {
let limit = car.get_limit();
Ok((limit, buffer))
}

#[test]
fn test_issue_1018() {
assert_eq!(1, examples_baseline::SBE_SCHEMA_ID);
assert_eq!(0, examples_baseline::SBE_SCHEMA_VERSION);
assert_eq!("5.2", examples_baseline::SBE_SEMANTIC_VERSION);
}

0 comments on commit 8b40950

Please sign in to comment.