On Sun, 2008-11-02 at 22:00 -0600, Luke Kanies wrote: > > On Oct 31, 2008, at 5:40 PM, Brice Figureau wrote: > > @@ -285,6 +285,14 @@ describe > > Puppet::Parser::Lexer::TOKENS[:COMMENT] do > > it "should be marked to get skipped" do > > @token.skip?.should be_true > > end > > + > > + it "should be marked to accumulate" do > > + @token.accumulate?.should be_true > > + end > > + > > + it "'s block should return the comment without the #" do > > + @token.convert(@lexer,"# this is a comment")[1].should == " > > this is a comment" > > + end > > end > > Shouldn't it strip leading space, too?
RDoc currently doesn't care (it strips leading spaces). But I think you are right that would be more clean. I just have to make sure to remove only the first leading space. -- Brice Figureau <[EMAIL PROTECTED]> --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Puppet Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/puppet-dev?hl=en -~----------~----~----~----~------~----~------~--~---
