Skip to content

Conversation

@webmaster128
Copy link
Member

No description provided.

assert_eq!(to_string(&Type::Boolean).unwrap(), r#""boolean""#);

assert_eq!(to_string(&Type::Number).unwrap(), r#""number""#);
assert_eq!(to_string(&Animal::Ant).unwrap(), r#""Ant""#);

Choose a reason for hiding this comment

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

Yup, this is what would make Go crazy.

@webmaster128 webmaster128 merged commit ff841e9 into master May 18, 2020
@webmaster128 webmaster128 deleted the test-enum-serialization branch May 18, 2020 10:53
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.

3 participants