diff options
author | Seth M Morton <seth.m.morton@gmail.com> | 2018-09-02 23:12:40 -0700 |
---|---|---|
committer | Seth M Morton <seth.m.morton@gmail.com> | 2018-09-02 23:12:40 -0700 |
commit | 5e8bb322f20b689345e0d4be21731f910ea6df5e (patch) | |
tree | 489157c9aed3846f200fe4f2a7876fc50e86c474 | |
parent | 6218b723075987f328d0ec50a337571ca96faf1a (diff) | |
download | natsort-5e8bb322f20b689345e0d4be21731f910ea6df5e.tar.gz |
Correct stupid mistake in final transform test.
Missing call to swapcase. Copy/paste error.
-rw-r--r-- | test_natsort/test_final_data_transform_factory.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/test_natsort/test_final_data_transform_factory.py b/test_natsort/test_final_data_transform_factory.py index 5d47c7f..d256e30 100644 --- a/test_natsort/test_final_data_transform_factory.py +++ b/test_natsort/test_final_data_transform_factory.py @@ -27,7 +27,10 @@ def test_final_data_transform_factory_default(x, y, alg): (ns.UNGROUPLETTERS | ns.LOCALE, lambda x: x), (ns.LOCALE | ns.UNGROUPLETTERS | ns_DUMB, lambda x: x), (ns.LOCALE | ns.UNGROUPLETTERS | ns.LOWERCASEFIRST, lambda x: x), - (ns.LOCALE | ns.UNGROUPLETTERS | ns_DUMB | ns.LOWERCASEFIRST, lambda x: x), + ( + ns.LOCALE | ns.UNGROUPLETTERS | ns_DUMB | ns.LOWERCASEFIRST, + lambda x: x.swapcase(), + ), ], ) @given(x=text(), y=floats(allow_nan=False, allow_infinity=False) | integers()) |