Skip to content

Commit 71eab51

Browse files
committed
add more test data
1 parent 309b7f8 commit 71eab51

File tree

3 files changed

+24
-1
lines changed

3 files changed

+24
-1
lines changed
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
*** Variables ***
2+
# some comment
3+
4+
${VARIABLE 1}= 10 # comment
5+
@{LIST} a b c d
6+
${LONGER_NAME_THAT_GOES_AND_GOES} = longer value that goes and goes
7+
8+
&{MULTILINE} a=b
9+
... b=c
10+
... d=1
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
*** Variables ***
2+
# some comment
3+
4+
${VARIABLE 1}= 10 # comment
5+
@{LIST} a b c d
6+
${LONGER_NAME_THAT_GOES_AND_GOES} = longer value that goes and goes
7+
8+
&{MULTILINE} a=b
9+
... b=c
10+
... d=1

tests/atest/transformers/test_transformers.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -292,4 +292,7 @@ class TestAlignVariablesSection:
292292
TRANSFORMER_NAME = 'AlignVariablesSection'
293293

294294
def test_align_variables(self):
295-
run_tidy_and_compare(self.TRANSFORMER_NAME, sources=['tests.robot'])
295+
run_tidy_and_compare(self.TRANSFORMER_NAME, sources=['tests.robot'])
296+
297+
def test_align_with_optional_equal_signs(self):
298+
run_tidy_and_compare(self.TRANSFORMER_NAME, sources=['optional_equal_sign.robot'])

0 commit comments

Comments
 (0)