lib

Core libraries for Radroots
git clone https://radroots.dev/git/lib.git
Log | Files | Refs | README

tests.rs (279B)


      1 use super::*;
      2 use serde::de::{Error, Unexpected, value};
      3 
      4 #[test]
      5 fn root_visitor_expecting_message_is_stable() {
      6     let error = value::Error::invalid_type(Unexpected::Bool(true), &ProfileMetadataRootVisitor);
      7     assert!(error.to_string().contains("Profile metadata JSON"));
      8 }