diff options
author | Junio C Hamano <gitster@pobox.com> | 2014-07-21 22:18:44 +0400 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2014-07-21 22:18:44 +0400 |
commit | 9b1c2a3a8e625ea7f56e9ba3d3c0e31938faa738 (patch) | |
tree | aa21c9fad684c6f6e16d4a1c69a6c6bd70dd54c3 /t | |
parent | 0ac744305f5885207bf96fc5488fcc59782ffa96 (diff) | |
parent | 7b64d42d22206d9995a8f0cb3b515e623cac4702 (diff) |
Merge branch 'kb/hashmap-updates'
* kb/hashmap-updates:
hashmap: add string interning API
hashmap: add simplified hashmap_get_from_hash() API
hashmap: improve struct hashmap member documentation
hashmap: factor out getting a hash code from a SHA1
Diffstat (limited to 't')
-rwxr-xr-x | t/t0011-hashmap.sh | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/t/t0011-hashmap.sh b/t/t0011-hashmap.sh index 391e2b6492..f97c80556f 100755 --- a/t/t0011-hashmap.sh +++ b/t/t0011-hashmap.sh @@ -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 |