diff options
author | Junio C Hamano <gitster@pobox.com> | 2014-07-21 18:18:44 (GMT) |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2014-07-21 18:18:44 (GMT) |
commit | 9b1c2a3a8e625ea7f56e9ba3d3c0e31938faa738 (patch) | |
tree | aa21c9fad684c6f6e16d4a1c69a6c6bd70dd54c3 /t | |
parent | 0ac744305f5885207bf96fc5488fcc59782ffa96 (diff) | |
parent | 7b64d42d22206d9995a8f0cb3b515e623cac4702 (diff) | |
download | git-9b1c2a3a8e625ea7f56e9ba3d3c0e31938faa738.zip git-9b1c2a3a8e625ea7f56e9ba3d3c0e31938faa738.tar.gz git-9b1c2a3a8e625ea7f56e9ba3d3c0e31938faa738.tar.bz2 |
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 391e2b6..f97c805 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 |