Package: ruby-zoom / 0.4.1-5

fix_assert_in_test.patch Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
Description: Fix an error in a test script
 The test script in question fails using the new ruby-test-unit test suite
 as the first argument should always be a String, Proc or test object.
Author: Paul van Tilburg <paulvt@debian.org>
Last-Update: 2012-05-29

--- a/test/package_test.rb
+++ b/test/package_test.rb
@@ -31,7 +31,7 @@
     #option correlationInfo.note
       p = @connection.package
       assert(p.respond_to?('correlation_info_note'))
-      assert(true, p.respond_to?('correlation_info_note='))
+      assert(p.respond_to?('correlation_info_note='))
       assert_equal(true, p.respond_to?('set_correlation_info_note'))
 
       p.correlation_info_note = 'correlation_info_note value'