#450 Fix YAML export of enum values

- Move writing logic to PropertyType
- Remove unused double property type
- Add sample enum property type to tests
This commit is contained in:
ljacqu
2016-01-31 10:49:30 +01:00
parent e747dfeb7f
commit fbd5265a0b
13 changed files with 69 additions and 109 deletions
@@ -5,7 +5,7 @@ test:
systemName: 'A ''test'' name'
sample:
ratio:
limit: -41.8
order: Fourth
fields:
- Australia\
- ' Burundi'''
@@ -23,7 +23,7 @@ features:
- |
gray
with new lines
# dustLevel: 0.81 <-- missing property triggering rewrite
# dustLevel: 8 <-- missing property triggering rewrite
cool:
enabled: yes
options: []
@@ -6,7 +6,7 @@ test:
# systemName: 'Custom sys name'
sample:
ratio:
# limit: 3.0
# order: 'THIRD'
fields:
- 'Australia'
- 'Burundi'
@@ -18,7 +18,7 @@ features:
# colors:
# - 'beige'
# - 'gray'
# dustLevel: 0.81
# dustLevel: 1
cool:
# enabled: true
options:
+2 -2
View File
@@ -6,7 +6,7 @@ test:
systemName: 'Custom sys name'
sample:
ratio:
limit: -4.1
order: 'first'
fields:
- 'Australia'
- 'Burundi'
@@ -18,7 +18,7 @@ features:
colors:
- 'beige'
- 'gray'
dustLevel: 0.81
dustLevel: 2
cool:
enabled: true
options: