Fix custom derive enum test.

This commit is contained in:
theduke 2017-07-06 16:47:46 +02:00 committed by theduke
parent c27d2c7a23
commit 359b348b97

View file

@ -27,10 +27,10 @@ fn test_derived_enum() {
// Test Regular variant. // Test Regular variant.
assert_eq!( assert_eq!(
SomeEnum::Regular.to(), SomeEnum::Regular.to(),
InputValue::String("Regular".into()) InputValue::String("REGULAR".into())
); );
assert_eq!( assert_eq!(
FromInputValue::from(&InputValue::String("Regular".into())), FromInputValue::from(&InputValue::String("REGULAR".into())),
Some(SomeEnum::Regular) Some(SomeEnum::Regular)
); );