aboutsummaryrefslogtreecommitdiffstats
path: root/actionwebservice/test/casting_test.rb
diff options
context:
space:
mode:
Diffstat (limited to 'actionwebservice/test/casting_test.rb')
-rw-r--r--actionwebservice/test/casting_test.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/actionwebservice/test/casting_test.rb b/actionwebservice/test/casting_test.rb
index 223313564b..aa8941da17 100644
--- a/actionwebservice/test/casting_test.rb
+++ b/actionwebservice/test/casting_test.rb
@@ -62,8 +62,8 @@ class TC_Casting < Test::Unit::TestCase
def test_array_type_casting
assert_equal [1, 2, 3213992, 4], cast_expects(:int_array, ['1', '2', '3213992', '4'])[0]
- assert_equal ['one', 'two', '5.0', '200', '', 'true'], cast_expects(:str_array, [:one, 'two', 5.0, 200, nil, true])[0]
- assert_equal [true, false, true, true, false], cast_expects(:bool_array, ['1', nil, 'y', true, 'false'])[0]
+ assert_equal ['one', 'two', '5.0', '200', nil, 'true'], cast_expects(:str_array, [:one, 'two', 5.0, 200, nil, true])[0]
+ assert_equal [true, nil, true, true, false], cast_expects(:bool_array, ['1', nil, 'y', true, 'false'])[0]
end
def test_array_type_casting_failure