Commit f8d24e2
committed
(maint) Add ability to unindent text blocks in spec-tests.
There are many times when indentation matters but yet, it's desirable
to indent the actual definition of something in an indented fashion.
Times when indentation matters is for instance when comparing output
or when defining the content of a yaml file.
This commit adds the method 'unindent' to the String class when running
spec tests.1 parent 5893637 commit f8d24e2
2 files changed
+6
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
33 | 33 | | |
34 | 34 | | |
35 | 35 | | |
| 36 | + | |
36 | 37 | | |
37 | 38 | | |
38 | 39 | | |
| |||
0 commit comments