~bkerensa/ubuntu/raring/puppet/new-upstream-release

« back to all changes in this revision

Viewing changes to spec/unit/parser/lexer_spec.rb

  • Committer: Bazaar Package Importer
  • Author(s): Mathias Gug
  • Date: 2010-10-21 12:52:13 UTC
  • mfrom: (1.1.18 upstream)
  • Revision ID: james.westby@ubuntu.com-20101021125213-x5pjaatmuv0i79jv
Tags: 2.6.3~rc1-0ubuntu1
* New upstream version
* debian/control:
  - move all puppet dependencies to puppet-common since all the code is
    actually located in puppet-common. 
  - move libaugeas from a recommend to a dependency.

Show diffs side-by-side

added added

removed removed

Lines of Context:
30
30
 
31
31
      @lexer.line.should == 10
32
32
    end
 
33
 
 
34
    it "should not think the terminator is escaped, when preceeded by an even number of backslashes" do
 
35
      @lexer.line = 10
 
36
      @lexer.string = "here\nis\nthe\nstring\\\\'with\nextra\njunk"
 
37
      @lexer.slurpstring("'")
 
38
 
 
39
      @lexer.line.should == 13
 
40
    end
33
41
  end
34
42
end
35
43