<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -19,140 +19,140 @@ describe Randexp do
   end
 end
 
-#describe Randexp do
-#  describe &quot;#parse&quot; do
-#
-#    describe '(&quot;\\w&quot;)' do
-#      it &quot;should be a random sexp&quot; do
-#        Randexp.parse(&quot;\\w&quot;).first.should == :random
-#      end
-#
-#      it &quot;should hold a word symbol&quot; do
-#        Randexp.parse(&quot;\\w&quot;).last.should == :w
-#      end
-#    end
-#
-#    describe '(&quot;\\s&quot;)' do
-#      it &quot;should be a literal sexp&quot; do
-#        Randexp.parse(&quot;\\s&quot;).first.should == :random
-#      end
-#
-#      it &quot;should hold a whitespace symbol &quot; do
-#        Randexp.parse(&quot;\\s&quot;).last.should == :s
-#      end
-#    end
-#
-#    describe '(&quot;\\d&quot;)' do
-#      it &quot;should be a literal sexp&quot; do
-#        Randexp.parse(&quot;\\d&quot;).first.should == :random
-#      end
-#
-#      it &quot;should hold a digit character &quot; do
-#        Randexp.parse(&quot;\\d&quot;).last.should == :d
-#      end
-#    end
-#
-#    describe '(&quot;\\c&quot;)' do
-#      it &quot;should be a literal sexp&quot; do
-#        Randexp.parse(&quot;\\c&quot;).first.should == :random
-#      end
-#
-#      it &quot;should hold a digit character &quot; do
-#        Randexp.parse(&quot;\\c&quot;).last.should == :c
-#      end
-#    end
-#
-#    describe '(&quot;(\\w)&quot;)' do
-#      it &quot;should be a random sexp&quot; do
-#        Randexp.parse(&quot;(\\w)&quot;).first.should == :random
-#        Randexp.parse(&quot;(\\w)&quot;).last.should == :w
-#      end
-#    end
-#
-#    describe '(&quot;(\\w)(\\d)&quot;)' do
-#      it &quot;should be a union between random sexp's&quot; do
-#        Randexp.parse(&quot;(\\w)(\\d)&quot;).first.should == :union
-#        Randexp.parse(&quot;(\\w)(\\d)&quot;)[1].first.should == :random
-#        Randexp.parse(&quot;(\\w)(\\d)&quot;)[2].first.should == :random
-#      end
-#    end
-#
-#    describe '(&quot;(\\w)(\\s)(\\d)&quot;)' do
-#      it &quot;should be a union between 3 sexp's&quot; do
-#        Randexp.parse(&quot;(\\w)(\\s)(\\d)&quot;).first.should == :union
-#        Randexp.parse(&quot;(\\w)(\\s)(\\d)&quot;).size.should == 4
-#      end
-#    end
-#
-#    describe '(&quot;\\w*&quot;)' do
-#      it &quot;should be a quantify sexp and hold a random sexp&quot; do
-#        Randexp.parse(&quot;\\w*&quot;).first.should == :quantify
-#        Randexp.parse(&quot;\\w*&quot;)[1].first.should == :random
-#        Randexp.parse(&quot;\\w*&quot;)[2].should == :*
-#      end
-#    end
-#
-#    it &quot;should blah&quot; do
-#      Randexp.parse(&quot;(\\w)|(\\d)&quot;).should == [:intersection, [:random, :w], [:random, :d]]
-#    end
-#
-#    describe '(&quot;[:sentence:]&quot;)' do
-#      it &quot;should be a random sexp&quot; do
-#        Randexp.parse(&quot;[:sentence:]&quot;).first.should == :random
-#        Randexp.parse(&quot;[:sentence:]&quot;).last.should == :sentence
-#      end
-#    end
-#  end
-#
-#  describe &quot;#generate&quot; do
-#    it &quot;should return a character&quot; do
-#      Randexp.new(&quot;\\w&quot;).generate.should =~ /\w/
-#    end
-#
-#    it &quot;should return a word&quot; do
-#      Randexp.new(&quot;\\w+&quot;).generate.should =~ /\w+/
-#    end
-#
-#    it &quot;should return a word or an empty string&quot; do
-#      Randexp.new(&quot;\\w*&quot;).generate.should =~ /\w*/
-#    end
-#
-#    it &quot;should return a word with 4 to 5 characters&quot; do
-#      Randexp.new(&quot;\\w{4,5}&quot;).generate.should =~ /\w{4,5}/
-#    end
-#
-#    it &quot;should return a digit&quot; do
-#      Randexp.new(&quot;\\d&quot;).generate.should =~ /\d/
-#    end
-#
-#    it &quot;should return a 2 to 10 digit number&quot; do
-#      Randexp.new(&quot;\\d{2,10}&quot;).generate.should =~ /\d{2,10}/
-#    end
-#
-#    it &quot;should return a digit or empty string&quot; do
-#      Randexp.new(&quot;\\d?&quot;).generate.should =~ /\d?/
-#    end
-#
-#    it &quot;should return a digit or a character&quot; do
-#      Randexp.new(&quot;\\d|\\w&quot;).generate.should =~ /\w|\d/
-#    end
-#
-#    it &quot;should return a word or a 3 digit number&quot; do
-#      Randexp.new(&quot;\\d{3}|\\w+&quot;).generate.should =~ /\w+|d{3}/
-#    end
-#
-#    it &quot;should return a word or number&quot; do
-#      Randexp.new(&quot;\\w+|\\d{3}&quot;).generate.should =~ /\w+|d{3}/
-#    end
-#
-#    it &quot;should return a sentence&quot; do
-#      Randexp.new(&quot;[:sentence:]&quot;).generate.should =~ /(\w+\s)*\w+/
-#    end
-#
-#    it &quot;should handle a telephone number&quot; do
-#      100.times do
-#        Randexp.new(&quot;(\\d{3}-)?\\d{3}-\\d{4}&quot;).generate.should =~ /(\d{3}-)?\d{3}-\d{4}/
-#      end
-#    end
-#  end
-#end
\ No newline at end of file
+describe Randexp do
+ describe &quot;#parse&quot; do
+
+   describe '(&quot;\\w&quot;)' do
+     it &quot;should be a random sexp&quot; do
+       Randexp::Parser.parse(&quot;\\w&quot;).first.should == :random
+     end
+
+     it &quot;should hold a word symbol&quot; do
+       Randexp::Parser.parse(&quot;\\w&quot;).last.should == :w
+     end
+   end
+
+   describe '(&quot;\\s&quot;)' do
+     it &quot;should be a literal sexp&quot; do
+       Randexp::Parser.parse(&quot;\\s&quot;).first.should == :random
+     end
+
+     it &quot;should hold a whitespace symbol &quot; do
+       Randexp::Parser.parse(&quot;\\s&quot;).last.should == :s
+     end
+   end
+
+   describe '(&quot;\\d&quot;)' do
+     it &quot;should be a literal sexp&quot; do
+       Randexp::Parser.parse(&quot;\\d&quot;).first.should == :random
+     end
+
+     it &quot;should hold a digit character &quot; do
+       Randexp::Parser.parse(&quot;\\d&quot;).last.should == :d
+     end
+   end
+
+   describe '(&quot;\\c&quot;)' do
+     it &quot;should be a literal sexp&quot; do
+       Randexp::Parser.parse(&quot;\\c&quot;).first.should == :random
+     end
+
+     it &quot;should hold a digit character &quot; do
+       Randexp::Parser.parse(&quot;\\c&quot;).last.should == :c
+     end
+   end
+
+   describe '(&quot;(\\w)&quot;)' do
+     it &quot;should be a random sexp&quot; do
+       Randexp::Parser.parse(&quot;(\\w)&quot;).first.should == :random
+       Randexp::Parser.parse(&quot;(\\w)&quot;).last.should == :w
+     end
+   end
+
+   describe '(&quot;(\\w)(\\d)&quot;)' do
+     it &quot;should be a union between random sexp's&quot; do
+       Randexp::Parser.parse(&quot;(\\w)(\\d)&quot;).first.should == :union
+       Randexp::Parser.parse(&quot;(\\w)(\\d)&quot;)[1].first.should == :random
+       Randexp::Parser.parse(&quot;(\\w)(\\d)&quot;)[2].first.should == :random
+     end
+   end
+
+   describe '(&quot;(\\w)(\\s)(\\d)&quot;)' do
+     xit &quot;should be a union between 3 sexp's&quot; do
+       Randexp::Parser.parse(&quot;(\\w)(\\s)(\\d)&quot;).first.should == :union
+       Randexp::Parser.parse(&quot;(\\w)(\\s)(\\d)&quot;).size.should == 4
+     end
+   end
+
+   describe '(&quot;\\w*&quot;)' do
+     it &quot;should be a quantify sexp and hold a random sexp&quot; do
+       Randexp::Parser.parse(&quot;\\w*&quot;).first.should == :quantify
+       Randexp::Parser.parse(&quot;\\w*&quot;)[1].first.should == :random
+       Randexp::Parser.parse(&quot;\\w*&quot;)[2].should == :*
+     end
+   end
+
+   it &quot;should blah&quot; do
+     Randexp::Parser.parse(&quot;(\\w)|(\\d)&quot;).should == [:intersection, [:random, :w], [:random, :d]]
+   end
+
+   describe '(&quot;[:sentence:]&quot;)' do
+     it &quot;should be a random sexp&quot; do
+       Randexp::Parser.parse(&quot;[:sentence:]&quot;).first.should == :random
+       Randexp::Parser.parse(&quot;[:sentence:]&quot;).last.should == :sentence
+     end
+   end
+ end
+
+ describe &quot;#reduce&quot; do
+   it &quot;should return a character&quot; do
+     Randexp.new(&quot;\\w&quot;).reduce.should =~ /\w/
+   end
+
+   it &quot;should return a word&quot; do
+     Randexp.new(&quot;\\w+&quot;).reduce.should =~ /\w+/
+   end
+
+   it &quot;should return a word or an empty string&quot; do
+     Randexp.new(&quot;\\w*&quot;).reduce.should =~ /\w*/
+   end
+
+   it &quot;should return a word with 4 to 5 characters&quot; do
+     Randexp.new(&quot;\\w{4,5}&quot;).reduce.should =~ /\w{4,5}/
+   end
+
+   it &quot;should return a digit&quot; do
+     Randexp.new(&quot;\\d&quot;).reduce.should =~ /\d/
+   end
+
+   it &quot;should return a 2 to 10 digit number&quot; do
+     Randexp.new(&quot;\\d{2,10}&quot;).reduce.should =~ /\d{2,10}/
+   end
+
+   it &quot;should return a digit or empty string&quot; do
+     Randexp.new(&quot;\\d?&quot;).reduce.should =~ /\d?/
+   end
+
+   it &quot;should return a digit or a character&quot; do
+     Randexp.new(&quot;\\d|\\w&quot;).reduce.should =~ /\w|\d/
+   end
+
+   xit &quot;should return a word or a 3 digit number&quot; do
+     Randexp.new(&quot;\\d{3}|\\w+&quot;).reduce.should =~ /\w+|d{3}/
+   end
+
+   it &quot;should return a word or number&quot; do
+     Randexp.new(&quot;\\w+|\\d{3}&quot;).reduce.should =~ /\w+|d{3}/
+   end
+
+   it &quot;should return a sentence&quot; do
+     Randexp.new(&quot;[:sentence:]&quot;).reduce.should =~ /(\w+\s)*\w+/
+   end
+
+   it &quot;should handle a telephone number&quot; do
+     100.times do
+       Randexp.new(&quot;(\\d{3}-)?\\d{3}-\\d{4}&quot;).reduce.should =~ /(\d{3}-)?\d{3}-\d{4}/
+     end
+   end
+ end
+end
\ No newline at end of file</diff>
      <filename>spec/unit/randexp_spec.rb</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>595d855ff2369c1048aa9a830f550ae844c86b2c</id>
    </parent>
  </parents>
  <author>
    <name>Gerrit Kaiser</name>
    <email>gerrit@gerritkaiser.de</email>
  </author>
  <url>http://github.com/benburkert/randexp/commit/76d5d7e6f8b0fb60a111d8a1befddcd722b319d1</url>
  <id>76d5d7e6f8b0fb60a111d8a1befddcd722b319d1</id>
  <committed-date>2008-09-16T02:48:32-07:00</committed-date>
  <authored-date>2008-09-16T02:48:32-07:00</authored-date>
  <message>re-enabled and fixed commented-out specs</message>
  <tree>6294e9bbef517c8fe971127b829738fe88a0b906</tree>
  <committer>
    <name>Gerrit Kaiser</name>
    <email>gerrit@gerritkaiser.de</email>
  </committer>
</commit>
