diff --git a/test/unit/test_superstring_functions.py b/test/unit/test_superstring_functions.py index 748b898..6709c9b 100644 --- a/test/unit/test_superstring_functions.py +++ b/test/unit/test_superstring_functions.py @@ -25,3 +25,7 @@ def test_split(super_string): def test_strip(): assert SuperString(" TESTING ").strip()._content == "TESTING" + + +def test_negative_slicing(super_string): + assert super_string[1:-1]._content == 'es' \ No newline at end of file