-
Notifications
You must be signed in to change notification settings - Fork 26
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
GitHub: #116
- Loading branch information
Masafumi Yokoyama
committed
Mar 5, 2016
1 parent
ec3375a
commit adaaa92
Showing
3 changed files
with
43 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
# -*- coding: utf-8 -*- | ||
# | ||
# Copyright (C) 2014 Masafumi Yokoyama <[email protected]> | ||
# Copyright (C) 2009-2014 Kouhei Sutou <[email protected]> | ||
# Copyright (C) 2014-2016 Masafumi Yokoyama <[email protected]> | ||
# | ||
# This library is free software; you can redistribute it and/or | ||
# modify it under the terms of the GNU Lesser General Public | ||
|
@@ -443,4 +443,9 @@ def test_each_without_block | |
user_names = users.each.collect(&:key) | ||
assert_equal(["Alice", "Bob", "Carl"], user_names) | ||
end | ||
|
||
def test_type_string | ||
users = Groonga::Hash.create(:name => "Users") | ||
assert_equal("table:hash_key", users.type_string) | ||
end | ||
end |