Skip to content

Commit

Permalink
Fix MapEnumExampleAlias test case
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
carterkozak committed Jan 10, 2019
1 parent 2e8ed13 commit befda1e
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 befda1e

Please sign in to comment.