Skip to content

Conversation

aelsabbahy
Copy link
Member

Convert the following attributes to numeric. This allows for numeric
comparisons like {"uid": {"lt": 1000 }}:

  • user.uid
  • user.gid
  • group.gid
  • command.exit-status

Added deprication warning if the above arent numeric, to migrate goss file, run:
sed -ri 's/("(uid|gid|exit-status)": )"(.*)"/\1\3/g' goss.json
#31

@aelsabbahy aelsabbahy force-pushed the feature/31_enhanced_matchers branch from 3691a35 to d598182 Compare February 17, 2016 12:03
Convert the following attributes to numeric. This allows for numeric
comparisons like `{"uid": {"lt": 1000 }}`:
  * user.uid
  * user.gid
  * group.gid
  * command.exit-status

Added deprication warning if the above arent numeric.
@aelsabbahy aelsabbahy force-pushed the feature/31_enhanced_matchers branch from d598182 to 83e80c4 Compare February 17, 2016 12:11
aelsabbahy added a commit that referenced this pull request Feb 17, 2016
Leverage gomega matchers, to allow for more complex asserts.
@aelsabbahy aelsabbahy merged commit 581ed0a into master Feb 17, 2016
@aelsabbahy aelsabbahy deleted the feature/31_enhanced_matchers branch March 8, 2016 16:16
@dklimpel dklimpel mentioned this pull request Jun 12, 2024
3 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant