summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRob Holland <rob@inversepath.com>2008-05-11 23:05:52 +0100
committerRob Holland <rob@inversepath.com>2008-05-11 23:05:52 +0100
commitf41134d86c76e8ef37b877df7989d02ec579305a (patch)
treeb8e362fcac25f3cc5f04a7f78d30221dfe936af8
parent511aab6f000f85a4b03b70f841870eff256fbf08 (diff)
downloadthird_party-sqlite3-ruby-f41134d86c76e8ef37b877df7989d02ec579305a.tar.gz
third_party-sqlite3-ruby-f41134d86c76e8ef37b877df7989d02ec579305a.tar.xz
third_party-sqlite3-ruby-f41134d86c76e8ef37b877df7989d02ec579305a.zip
Use true/false for the busy_handler return value as the rdoc suggests.
-rw-r--r--test/tc_integration.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/tc_integration.rb b/test/tc_integration.rb
index cacaee7..6c5789f 100644
--- a/test/tc_integration.rb
+++ b/test/tc_integration.rb
@@ -537,7 +537,7 @@ module Integration
@db.busy_handler do |data,count|
handler_call_count += 1
busy.unlock
- 1
+ true
end
assert_nothing_raised do
@@ -567,7 +567,7 @@ module Integration
@db.busy_handler do |data, count|
handler_call_count += 1
- 0
+ false
end
assert_raise( SQLite3::BusyException ) do