Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bind grn_config_delete() #119

Merged
merged 3 commits into from
Mar 5, 2016
Merged

Bind grn_config_delete() #119

merged 3 commits into from
Mar 5, 2016

Conversation

myokoym
Copy link
Member

@myokoym myokoym commented Mar 5, 2016

GitHub: #116

assert_equal("value", context.config["rroonga.key"])
context.config.delete("rroonga.key")
assert do
not context.config["rroonga.key"]
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why is it not assert_nil(context.config["rroonga.key"])?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

勘違いしました。
真偽値のチェックにはassert do 〜 endを使うべきと思っていましたが、
ここはnilかどうかなので真偽値ではないですね。修正します。

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I've fixed it.

kou added a commit that referenced this pull request Mar 5, 2016
Bind grn_config_delete()

Patch by Masafumi Yokoyama. Thanks!!!
@kou kou merged commit 947b49c into master Mar 5, 2016
@kou
Copy link
Member

kou commented Mar 5, 2016

Thanks!

@kou kou deleted the bind-grn_config_delete branch March 5, 2016 05:34
@myokoym
Copy link
Member Author

myokoym commented Mar 5, 2016

Thanks for merging!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants