Skip to content

Commit

Permalink
Add property tests for Fn::Join compaction & IAM policy optimizer
Browse files Browse the repository at this point in the history
  • Loading branch information
RomainMuller committed Oct 15, 2018
1 parent c730887 commit d68f8ce
Show file tree
Hide file tree
Showing 15 changed files with 761 additions and 574 deletions.
18 changes: 5 additions & 13 deletions packages/@aws-cdk/aws-codebuild/test/integ.caching.expected.json
Original file line number Diff line number Diff line change
Expand Up @@ -94,8 +94,7 @@
}
]
]
},
":*"
}
]
]
},
Expand All @@ -115,18 +114,11 @@
{
"Ref": "AWS::AccountId"
},
":log-group:",
":log-group:/aws/codebuild/",
{
"Fn::Join": [
"",
[
"/aws/codebuild/",
{
"Ref": "MyProject39F7B0AE"
}
]
]
}
"Ref": "MyProject39F7B0AE"
},
":*"
]
]
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -91,8 +91,7 @@
}
]
]
},
":*"
}
]
]
},
Expand All @@ -112,18 +111,11 @@
{
"Ref": "AWS::AccountId"
},
":log-group:",
":log-group:/aws/codebuild/",
{
"Fn::Join": [
"",
[
"/aws/codebuild/",
{
"Ref": "MyProject39F7B0AE"
}
]
]
}
"Ref": "MyProject39F7B0AE"
},
":*"
]
]
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -135,8 +135,7 @@
}
]
]
},
":*"
}
]
]
},
Expand All @@ -156,18 +155,11 @@
{
"Ref": "AWS::AccountId"
},
":log-group:",
":log-group:/aws/codebuild/",
{
"Fn::Join": [
"",
[
"/aws/codebuild/",
{
"Ref": "MyProject39F7B0AE"
}
]
]
}
"Ref": "MyProject39F7B0AE"
},
":*"
]
]
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -137,8 +137,7 @@
}
]
]
},
":*"
}
]
]
},
Expand All @@ -158,18 +157,11 @@
{
"Ref": "AWS::AccountId"
},
":log-group:",
":log-group:/aws/codebuild/",
{
"Fn::Join": [
"",
[
"/aws/codebuild/",
{
"Ref": "MyProject39F7B0AE"
}
]
]
}
"Ref": "MyProject39F7B0AE"
},
":*"
]
]
}
Expand Down
Loading

1 comment on commit d68f8ce

@dubzzz
Copy link

@dubzzz dubzzz commented on d68f8ce Oct 19, 2018

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would be interested into having your feedback on fast-check. Did it work well? Was it well documented? Will you use it again?

Please sign in to comment.