diff options
author | suke <suke@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2018-10-12 23:07:48 +0000 |
---|---|---|
committer | suke <suke@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2018-10-12 23:07:48 +0000 |
commit | da1c8294b0704cdfc8f92b215467f6446ba67134 (patch) | |
tree | 457a5fa44940a844de4a6e1ad0e5ef142d68e11a /test | |
parent | 82a5a87050d34b4fed64c380eb71ecb45ede2bd0 (diff) | |
download | ruby-da1c8294b0704cdfc8f92b215467f6446ba67134.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')
-rw-r--r-- | test/win32ole/test_win32ole_param.rb | 20 |
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 |