Skip to content

Commit

Permalink
Fix MapEnumExampleAlias test case (#114)
Browse files Browse the repository at this point in the history
Enum values are not allowed to use spaces per the spec.
This change does not add the negative test while we wait on
a resolution to palantir/conjure#193
  • Loading branch information
Carter Kozak authored and bulldozer-bot[bot] committed Jan 11, 2019
1 parent 032621c commit 084f006
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions master-test-cases.yml
Original file line number Diff line number Diff line change
Expand Up @@ -690,8 +690,10 @@ body:
- type: MapEnumExampleAlias
positive:
- '{"ONE": "", "TWO": ""}'
- '{"ONE": "", "TWO": "", "BAD VARIANT": ""}'

- '{"ONE": "", "TWO": "", "UNKNOWN_VARIANT": ""}'
# https://github.com/palantir/conjure/issues/193
# negative:
# - '{"ONE": "", "TWO": "", "INVALID CHARS": ""}'
singleHeaderParam:
- type: bearertoken
positive:
Expand Down

0 comments on commit 084f006

Please sign in to comment.