Use a utility function to compare json document and expected string
Signed-off-by: srikappa <srikappa@amazon.com>
This commit is contained in:
@@ -265,8 +265,8 @@ namespace AzToolsFramework
|
||||
|
||||
AZ_Error(
|
||||
"Prefab",
|
||||
result.GetOutcome() != AZ::JsonSerializationResult::Outcomes::PartialSkip &&
|
||||
result.GetOutcome() != AZ::JsonSerializationResult::Outcomes::Success,
|
||||
result.GetOutcome() == AZ::JsonSerializationResult::Outcomes::PartialSkip ||
|
||||
result.GetOutcome() == AZ::JsonSerializationResult::Outcomes::Success,
|
||||
"Some of the patches are not successfully applied.");
|
||||
|
||||
//remove the link id placed into the instance
|
||||
|
||||
Reference in New Issue
Block a user