mirror of
https://github.com/tristanpenman/valijson.git
synced 2025-10-14 15:05:36 +02:00
Update OneOfConstraint to use custom allocator, with better encapsulation
This commit is contained in:
@@ -88,7 +88,7 @@ TEST_F(TestValidationErrors, AllOfConstraintFailure)
|
||||
EXPECT_TRUE( results.popError(error) );
|
||||
EXPECT_EQ( 1, error.context.size() );
|
||||
EXPECT_EQ( "<root>", error.context[0] );
|
||||
EXPECT_EQ( "Failed to validate against child schema #0 of allOf constraint.", error.description );
|
||||
EXPECT_EQ( "Failed to validate against child schema #0.", error.description );
|
||||
|
||||
EXPECT_FALSE( results.popError(error) );
|
||||
|
||||
|
Reference in New Issue
Block a user