Skip to content

Commit e161cf3

Browse files
committed
Add missing test case from #37
1 parent e06b358 commit e161cf3

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

tests/core_validation/test_arguments_of_correct_type.py

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -366,6 +366,17 @@ def test_unknown_enum_value_into_enum(self):
366366
bad_value('dogCommand', 'DogCommand', 'JUGGLE', 4, 45)
367367
])
368368

369+
def test_different_case_enum_value_into_enum(self):
370+
expect_fails_rule(ArgumentsOfCorrectType, '''
371+
{
372+
dog {
373+
doesKnowCommand(dogCommand: sit)
374+
}
375+
}
376+
''', [
377+
bad_value('dogCommand', 'DogCommand', 'sit', 4, 45)
378+
])
379+
369380

370381
# noinspection PyMethodMayBeStatic
371382
class TestValidListValues(object):

0 commit comments

Comments
 (0)