File: 003-fix_test.patch

package info (click to toggle)
libxslt-ruby 0.9.2-1
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k
  • size: 368 kB
  • ctags: 374
  • sloc: ansic: 2,965; ruby: 333; xml: 145; makefile: 5
file content (15 lines) | stat: -rw-r--r-- 330 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
--- tests/test.rb	2005-11-13 22:22:27.000000000 -0200
+++ /home/lautert/tmp/ruby-xslt/tests/test.rb	2006-11-01 01:06:38.891666770 -0300
@@ -1,7 +1,11 @@
 #!ruby
 
 require "test/unit"
-require "../xslt"
+begin
+  require "../libxslt"
+rescue LoadError
+  require "xml/libxslt"
+end
 
 # Test::Unit suite for flattenx extension
 #