aboutsummaryrefslogtreecommitdiffstats
path: root/test/win32ole
diff options
context:
space:
mode:
authorsuke <suke@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2018-10-12 23:07:48 +0000
committersuke <suke@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2018-10-12 23:07:48 +0000
commit9749bab35e7ef42c4d6d40c3259d24d87f91c60f (patch)
tree457a5fa44940a844de4a6e1ad0e5ef142d68e11a /test/win32ole
parentee2416e33cc530fb1991e52ee15ac401c752e50f (diff)
downloadruby-9749bab35e7ef42c4d6d40c3259d24d87f91c60f.tar.gz
use assert_equal instead of assert
* test/win32ole/test_win32ole_param.rb (test_input?, test_output, test_optional, test_retval?): use assert_equal instead of assert. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65043 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/win32ole')
-rw-r--r--test/win32ole/test_win32ole_param.rb20
1 files changed, 10 insertions, 10 deletions
diff --git a/test/win32ole/test_win32ole_param.rb b/test/win32ole/test_win32ole_param.rb
index 095cc8a2a9..f140c0344f 100644
--- a/test/win32ole/test_win32ole_param.rb
+++ b/test/win32ole/test_win32ole_param.rb
@@ -66,25 +66,25 @@ if defined?(WIN32OLE_PARAM)
end
def test_input?
- assert(@param_url.input?)
- assert(@param_cancel.input?)
- assert(!@param_pbs.input?)
+ assert_equal(true, @param_url.input?)
+ assert_equal(true, @param_cancel.input?)
+ assert_equal(false, @param_pbs.input?)
end
def test_output?
- assert(!@param_url.output?)
- assert(@param_cancel.output?)
- assert(@param_pbs.output?)
+ assert_equal(false, @param_url.output?)
+ assert_equal(true, @param_cancel.output?)
+ assert_equal(true, @param_pbs.output?)
end
def test_optional?
- assert(!@param_url.optional?)
- assert(@param_flags.optional?)
+ assert_equal(false, @param_url.optional?)
+ assert_equal(true, @param_flags.optional?)
end
def test_retval?
- assert(!@param_url.retval?)
- assert(@param_p.retval?)
+ assert_equal(false, @param_url.retval?)
+ assert_equal(true, @param_p.retval?)
end
def test_default