diff options
author | Luke Kanies <luke@madstop.com> | 2008-01-30 23:28:07 +1100 |
---|---|---|
committer | Luke Kanies <luke@madstop.com> | 2008-01-30 23:28:07 +1100 |
commit | 6ff9423c7ebaf759fcee28a3009cd59bed3ea886 (patch) | |
tree | dc933147e723585c0ba5ac36b8f6998c4dc947f1 /ext/puppet-test | |
parent | ee6ddc9c3bf76d4a6499fdbcb43f18daed247395 (diff) | |
download | puppet-6ff9423c7ebaf759fcee28a3009cd59bed3ea886.tar.gz puppet-6ff9423c7ebaf759fcee28a3009cd59bed3ea886.tar.xz puppet-6ff9423c7ebaf759fcee28a3009cd59bed3ea886.zip |
Significantly refactoring the lexer, including adding Token and TokenList
classes for managing how the tokens work.
I also moved they tests to RSpec, but I didn't rewrite all of them.
Diffstat (limited to 'ext/puppet-test')
-rwxr-xr-x | ext/puppet-test | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/puppet-test b/ext/puppet-test index 0f33e0cbb..e18dd1c57 100755 --- a/ext/puppet-test +++ b/ext/puppet-test @@ -211,11 +211,11 @@ end Suite.new :parser, "Manifest parsing" do def prepare - @parser = Puppet::Parser::Parser.new(:environment => Puppet[:environment]) - @parser.file = Puppet[:manifest] end newtest :parse, "Parsed files" do + @parser = Puppet::Parser::Parser.new(:environment => Puppet[:environment]) + @parser.file = Puppet[:manifest] @parser.parse end end |