summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
-rw-r--r--tests/basics/string_compare.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/basics/string_compare.py b/tests/basics/string_compare.py
index f011ed3630..6515809b36 100644
--- a/tests/basics/string_compare.py
+++ b/tests/basics/string_compare.py
@@ -53,3 +53,6 @@ print("1/" <= "1")
# that does have a hash, but the lengths of the two strings are different
import sys
print(sys.version == 'a long string that has a hash')
+
+# this special string would have a hash of 0 but is incremented to 1
+print('Q+?' == 'Q' + '+?')