public
Rubygem
Description: Rena is a Ruby RDF library that I'm trying to help extend.
Clone URL: git://github.com/tommorris/rena.git
added a trivial testcase, ad fixed a test
tommorris (author)
Sat May 31 01:28:10 -0700 2008
commit  1f22e6418dbd3be101ecdc37463fe44f4e136642
tree    1cdade112f49bef9c1f3605eb6c93252885df4f9
parent  69cb403e4a9c3af10f4a52dd46dfd251210a8ae9
...
7
8
9
10
 
11
12
13
...
15
16
17
 
 
 
 
 
18
19
20
...
7
8
9
 
10
11
12
13
...
15
16
17
18
19
20
21
22
23
24
25
0
@@ -7,7 +7,7 @@ describe "URI References" do
0
   end
0
   
0
   it "should handle Unicode symbols inside URLs" do
0
- f = URIRef.new("http://example.org/#Andr%E9")
0
+ f = URIRef.new("http://example.org/#Andr%E9").should_not raise_error
0
   end
0
   
0
   it "do not contain any control characters (#x00 - #x1F, #x74-#x9F)" do
0
@@ -15,6 +15,11 @@ describe "URI References" do
0
       f = URIRef.new("http://tommorris.org/blog/")
0
       f.test_string("http://tommorris.org/blog")
0
     end.should_not raise_error
0
+
0
+ lambda do
0
+ f = URIRef.new("http://xmlns.com/foaf/0.1/knows")
0
+ f.test_string("http://xmlns.com/foaf/0.1/knows")
0
+ end.should_not raise_error
0
   end
0
   
0
   it "produce a valid URI character sequence (per RFC 2396 ยง2.1) representing an absolute URI with optional fragment identifier" do

Comments

    No one has commented yet.