Skip to content

Commit

Permalink
test: add schema id test
Browse files Browse the repository at this point in the history
  • Loading branch information
SeaDve committed Aug 11, 2023
1 parent dddccd4 commit 0e7d60e
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions tests/test.rs
Original file line number Diff line number Diff line change
Expand Up @@ -469,6 +469,10 @@ fn id_defined_in_macro() {
pub struct Settings;

assert_eq!(Settings::default().schema_id(), Settings::new().schema_id());
assert_eq!(
Settings::default().schema_id().as_deref(),
Some("io.github.seadve.test")
);
}

#[test]
Expand Down

0 comments on commit 0e7d60e

Please sign in to comment.