Fix custom derive enum test.
This commit is contained in:
parent
c27d2c7a23
commit
359b348b97
1 changed files with 2 additions and 2 deletions
|
@ -27,10 +27,10 @@ fn test_derived_enum() {
|
|||
// Test Regular variant.
|
||||
assert_eq!(
|
||||
SomeEnum::Regular.to(),
|
||||
InputValue::String("Regular".into())
|
||||
InputValue::String("REGULAR".into())
|
||||
);
|
||||
assert_eq!(
|
||||
FromInputValue::from(&InputValue::String("Regular".into())),
|
||||
FromInputValue::from(&InputValue::String("REGULAR".into())),
|
||||
Some(SomeEnum::Regular)
|
||||
);
|
||||
|
||||
|
|
Loading…
Reference in a new issue