[BioRuby-cvs] bioruby/test/unit/bio/db test_prosite.rb,1.3,1.4

Mitsuteru C. Nakao nakao at dev.open-bio.org
Wed Jul 26 08:15:30 UTC 2006


Update of /home/repository/bioruby/bioruby/test/unit/bio/db
In directory dev.open-bio.org:/tmp/cvs-serv30520/test/unit/bio/db

Modified Files:
	test_prosite.rb 
Log Message:
* Fixed the regular expressions for test_pa2re methods.


Index: test_prosite.rb
===================================================================
RCS file: /home/repository/bioruby/bioruby/test/unit/bio/db/test_prosite.rb,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -d -r1.3 -r1.4
*** test_prosite.rb	18 Dec 2005 18:21:58 -0000	1.3
--- test_prosite.rb	26 Jul 2006 08:15:28 -0000	1.4
***************
*** 1439,1448 ****
      def test_pa2re
        pa = '[AC]-x-V-x(4)-{ED}.'
!       assert_equal(/[AC].V.{4}[^ED]/, @obj.pa2re(pa))
      end
  
      def test_self_pa2re
        pa = '[AC]-x-V-x(4)-{ED}.'
!       assert_equal(/[AC].V.{4}[^ED]/, Bio::PROSITE.pa2re(pa))
      end
  
--- 1439,1448 ----
      def test_pa2re
        pa = '[AC]-x-V-x(4)-{ED}.'
!       assert_equal(/[AC].V.{4}[^ED]/i, @obj.pa2re(pa))
      end
  
      def test_self_pa2re
        pa = '[AC]-x-V-x(4)-{ED}.'
!       assert_equal(/[AC].V.{4}[^ED]/i, Bio::PROSITE.pa2re(pa))
      end
  




More information about the bioruby-cvs mailing list