gauge
gauge copied to clipboard
gauge format does not format concept files
Expected behavior
gauge format formats concept and spec files alike.
Actual behavior
Concept file not formatted.
Steps to reproduce
- Create spec file with unformatted table
$ cat >> test.spec <<EOF
# Spec
## Scenario
* Do it with table
|xmxmxmxm | xmxmxmx |
|---------|--------------------------|
| 1 | 2 |
- Create concept file with unformatted table
cat >> test.spec <<EOF
## Concept
* Do it with table
|xmxmxmxm | xmxmxmx |
|---------|--------------------------|
| 1 | 2 |
- Format the spec file and check output (table is formatted)
$ gauge format test.spec
$ cat test.spec
# Spec
## Scenario
* Do it with table
|xmxmxmxm | xmxmxmx |
|---------|--------------------------|
| 1 | 2 |
- Format the concept file and check output (table is not formatted)
$ gauge format test.cpt
$ cat test.cpt
# Concept
* Do it with table
|xmxmxmxm | xmxmxmx |
|---------|--------------------------|
| 1 | 2 |
Gauge version
$ gauge --version Gauge version: 1.0.5 Commit Hash: 562f036
Plugins
html-report (4.0.8) java (0.7.2) screenshot (0.0.1) xml-report (0.2.2)
@kimholan this is a known issue. We will try and fix this soon.