From 52eea5ce4c8c8fe5e4917aa0f65af07bf4f89ef8 Mon Sep 17 00:00:00 2001 From: boukeversteegh Date: Sun, 14 Jun 2020 23:15:56 +0200 Subject: [PATCH] Added missing tests for casing --- betterproto/tests/test_casing.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/betterproto/tests/test_casing.py b/betterproto/tests/test_casing.py index f777e2c..ac18309 100644 --- a/betterproto/tests/test_casing.py +++ b/betterproto/tests/test_casing.py @@ -9,6 +9,7 @@ from betterproto.casing import camel_case, pascal_case, snake_case ("", ""), ("a", "A"), ("foobar", "Foobar"), + ("fooBar", "FooBar"), ("FooBar", "FooBar"), ("foo.bar", "FooBar"), ("foo_bar", "FooBar"), @@ -38,6 +39,7 @@ def test_pascal_case(value, expected): ("", ""), ("a", "a"), ("foobar", "foobar"), + ("fooBar", "fooBar"), ("FooBar", "fooBar"), ("foo.bar", "fooBar"), ("foo_bar", "fooBar"), @@ -65,6 +67,7 @@ def test_camel_case(value, expected): ("", ""), ("a", "a"), ("foobar", "foobar"), + ("fooBar", "foo_bar"), ("FooBar", "foo_bar"), ("foo.bar", "foo_bar"), ("foo_bar", "foo_bar"),