diff options
| author | luke <luke@980ebf18-57e1-0310-9a29-db15c13687c0> | 2005-09-13 15:36:44 +0000 |
|---|---|---|
| committer | luke <luke@980ebf18-57e1-0310-9a29-db15c13687c0> | 2005-09-13 15:36:44 +0000 |
| commit | d43dc864e6fa3a972c363a857463b609e1f783a6 (patch) | |
| tree | 4bef9d0fc00e3ff5c9e77b583da378bc3f56684e /test/parser | |
| parent | aca4cf86247bc73c95d12b3ce3a536302c1bfd0c (diff) | |
tracked down some sticky bugs related to having false values and empty strings; all fixed now, and all tests pass again, including the new tests that cover the bugs i found
git-svn-id: https://reductivelabs.com/svn/puppet/trunk@652 980ebf18-57e1-0310-9a29-db15c13687c0
Diffstat (limited to 'test/parser')
| -rw-r--r-- | test/parser/tc_lexer.rb | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/test/parser/tc_lexer.rb b/test/parser/tc_lexer.rb index d0ed19324..31e77dbff 100644 --- a/test/parser/tc_lexer.rb +++ b/test/parser/tc_lexer.rb @@ -108,4 +108,13 @@ class TestLexer < Test::Unit::TestCase ) } end + + def test_emptystring + bit = '$var = ""' + + assert_nothing_raised { + @lexer.string = bit + p @lexer.fullscan + } + end end |
