Revision: 3531
Author: KariHusa
Date: Wed May 26 02:24:22 2010
Log: Check comment for unnamed test
http://code.google.com/p/robotframework/source/detail?r=3531

Modified:
 /trunk/utest/parsing/test_populator.py

=======================================
--- /trunk/utest/parsing/test_populator.py      Wed May 26 02:21:32 2010
+++ /trunk/utest/parsing/test_populator.py      Wed May 26 02:24:22 2010
@@ -171,8 +171,9 @@
         assert_equals(test.steps[0].comment, 'comment')

     def test_unnamed_test_and_line_continuation(self):
-        self._create_table('test cases', [['', '...', 'foo']])
+        self._create_table('test cases', [['', '...', 'foo', '#comment']])
         assert_equals(self._first_test().name, '')
+        assert_equals(self._first_test().steps[0].comment, 'comment')

     def test_continuing_in_the_begining_of_the_keyword_table(self):
         self._create_table('keywords', [['...', 'foo']])

Reply via email to