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 11
11
[
12
12
(
13
13
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
+ '''
23
26
),
27
+ "Some\n \n Extra\n Lines" ,
28
+ ),
29
+ (
24
30
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" ,
32
43
),
33
44
(
34
45
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
39
51
40
- Extra
41
- Lines
52
+ Extra
53
+ Lines
42
54
43
- Then the text should be parsed with correct indentation
44
- """
55
+ Then the text should be parsed with correct indentation
56
+ """
45
57
),
46
- textwrap .dedent (
47
- """
48
- Some
49
-
50
- Extra
51
- Lines
52
- """
53
- )[1 :- 1 ],
58
+ " Some\n \n Extra\n Lines" ,
54
59
),
55
60
(
56
61
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
+ """
66
71
),
67
- textwrap .dedent (
68
- """
69
- Some
70
- Extra
71
- Lines
72
- """
73
- )[1 :- 1 ],
72
+ "Some\n Extra\n Lines" ,
74
73
),
75
74
],
76
75
)
You can’t perform that action at this time.
0 commit comments