File tree Expand file tree Collapse file tree 1 file changed +1
-8
lines changed
lib/dsc-lib-jsonschema/src/tests/schema_utility_extensions Expand file tree Collapse file tree 1 file changed +1
-8
lines changed Original file line number Diff line number Diff line change @@ -623,13 +623,6 @@ test_cases_for_get_keyword_as_mut!(
623623 None
624624 ) ;
625625 }
626- /// Inverted the test - current logic fails due to a bug in [`schemars::Schema::pointer_mut()`],
627- /// see [schemars#478].
628- ///
629- /// This bug will be fixed when schemars merges [schemars#479] and makes a new release.
630- ///
631- /// [schemars#478]: https://github.com/GREsau/schemars/issues/478
632- /// [schemars#479]: https://github.com/GREsau/schemars/pull/479
633626 #[ test] fn with_defs_pointer_reference ( ) {
634627 let ref mut schema = json_schema ! ( {
635628 "$schema" : "https://json-schema.org/draft/2020-12/schema" ,
@@ -647,7 +640,7 @@ test_cases_for_get_keyword_as_mut!(
647640 "title" : "Foo"
648641 } ) ;
649642
650- assert_ne ! (
643+ assert_eq ! (
651644 schema. get_defs_subschema_from_reference_mut( "#/$defs/foo" ) ,
652645 expected. as_object_mut( )
653646 ) ;
You can’t perform that action at this time.
0 commit comments