Commit Graph

5 Commits

Author SHA1 Message Date
Gauthier Wallet
1b3f5fcbfb helper/structure: More cases for NormalizeJsonString tests
In terraform-providers/terraform-provider-aws#2935, we have been cleaning code
duplication by benefiting from the "NormalizeJsonString" present in the "structure" helper.

It appears that tests in the AWS provider are covering more use-cases,
which are added in this work.
2018-01-17 15:53:38 -08:00
tombuildsstuff
64dda483dd Adding tests for each helper method 2017-03-28 12:59:46 +01:00
tombuildsstuff
6efdc94ae3 Splitting the structure tests 2017-03-27 17:54:21 +01:00
tombuildsstuff
459c9a0a5a Returning a blank string if there's nothing to serialize 2017-03-27 16:22:44 +01:00
tombuildsstuff
277d1b6b2d Refactoring the schema diff/validation -> core 2017-03-27 15:41:55 +01:00