After updating to 6.2.0, I noticed that a lot of my code was formatted much better (probably thanks to #1675).
However, there is a degradation wrt. data tables and map initializers:
6.1.0:
class TestSpec extends Specification{
def "formatting is left intact"() {
given:
def m = [
key : 1,
otherKey: 2
]
expect:
m[key] == value
where:
key | value
a | 1
b | 2
}
}
6.2.0:
class TestSpec extends Specification{
def "formatting is left intact"() {
given:
def m = [
key : 1, // <--
otherKey: 2
]
expect:
m[key] == value
where:
key | value
a | 1 // <--
b | 2 // <--
}
}
After updating to 6.2.0, I noticed that a lot of my code was formatted much better (probably thanks to #1675).
However, there is a degradation wrt. data tables and map initializers:
6.1.0:
6.2.0: