]> git.ipfire.org Git - thirdparty/git.git/blobdiff - t/t0011-hashmap.sh
hashmap: add string interning API
[thirdparty/git.git] / t / t0011-hashmap.sh
index 391e2b64927d7d095df2569a4e56ea075a391d78..f97c80556fac55ae1bc11d24712be21a9dac0dcf 100755 (executable)
@@ -237,4 +237,17 @@ test_expect_success 'grow / shrink' '
 
 '
 
+test_expect_success 'string interning' '
+
+test_hashmap "intern value1
+intern Value1
+intern value2
+intern value2
+" "value1
+Value1
+value2
+value2"
+
+'
+
 test_done