File tree Expand file tree Collapse file tree 1 file changed +47
-48
lines changed
Expand file tree Collapse file tree 1 file changed +47
-48
lines changed Original file line number Diff line number Diff line change 1111 [
1212 (
1313 textwrap .dedent (
14- """
15- Scenario: Multiline step using sub indentation
16- Given I have a step with:
17- Some
18-
19- Extra
20- Lines
21- Then the text should be parsed with correct indentation
22- """
14+ '''\
15+ Feature: Multiline
16+ Scenario: Multiline step using sub indentation
17+ Given I have a step with:
18+ """
19+ Some
20+
21+ Extra
22+ Lines
23+ """
24+ Then the text should be parsed with correct indentation
25+ '''
2326 ),
27+ "Some\n \n Extra\n Lines" ,
28+ ),
29+ (
2430 textwrap .dedent (
25- """
26- Some
27-
28- Extra
29- Lines
30- """
31- )[1 :- 1 ],
31+ """\
32+ Feature: Multiline
33+ Scenario: Multiline step using sub indentation
34+ Given I have a step with:
35+ Some
36+
37+ Extra
38+ Lines
39+ Then the text should be parsed with correct indentation
40+ """
41+ ),
42+ "Some\n \n Extra\n Lines" ,
3243 ),
3344 (
3445 textwrap .dedent (
35- """
36- Scenario: Multiline step using sub indentation
37- Given I have a step with:
38- Some
46+ """\
47+ Feature: Multiline
48+ Scenario: Multiline step using sub indentation
49+ Given I have a step with:
50+ Some
3951
40- Extra
41- Lines
52+ Extra
53+ Lines
4254
43- Then the text should be parsed with correct indentation
44- """
55+ Then the text should be parsed with correct indentation
56+ """
4557 ),
46- textwrap .dedent (
47- """
48- Some
49-
50- Extra
51- Lines
52- """
53- )[1 :- 1 ],
58+ " Some\n \n Extra\n Lines" ,
5459 ),
5560 (
5661 textwrap .dedent (
57- """
58- Feature:
59- Scenario: Multiline step using sub indentation
60- Given I have a step with:
61- Some
62- Extra
63- Lines
64-
65- """
62+ """\
63+ Feature: Multiline
64+ Scenario: Multiline step using sub indentation
65+ Given I have a step with:
66+ Some
67+ Extra
68+ Lines
69+
70+ """
6671 ),
67- textwrap .dedent (
68- """
69- Some
70- Extra
71- Lines
72- """
73- )[1 :- 1 ],
72+ "Some\n Extra\n Lines" ,
7473 ),
7574 ],
7675)
You can’t perform that action at this time.
0 commit comments