File: fix_definition_CutSymbol_in_test_cut_symbol.patch

package info (click to toggle)
ruby-bio 2.0.6-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 7,108 kB
  • sloc: ruby: 68,331; perl: 13; makefile: 11; sh: 1
file content (20 lines) | stat: -rw-r--r-- 796 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
Description: ensure that Bio::RestrictionEnzyme::CutSymbol is defined in tests
 loading bio/utils/restriction_enzyme/cut_symbol.rb is not enough.
 bio/utils/restriction_enzyme.rb loads automatically cut_symbol.rb if called.
Author: Cédric Boutillier <cedric.boutillier@gmail.com>
Last-Update: 2012-02-17
Bug: https://github.com/bioruby/bioruby/issues/46
Forwarded: yes
---

--- a/test/unit/bio/util/restriction_enzyme/test_cut_symbol.rb
+++ b/test/unit/bio/util/restriction_enzyme/test_cut_symbol.rb
@@ -15,7 +15,7 @@ load Pathname.new(File.join(File.dirname(__FILE__), ['..'] * 4,
 
 # libraries needed for the tests
 require 'test/unit'
-require 'bio/util/restriction_enzyme/cut_symbol'
+#require 'bio/util/restriction_enzyme/cut_symbol'
 
 module Bio; module TestRestrictionEnzyme #:nodoc: