YAML Serializer: Add a test which currently fails

It would be nice to preserve the order of the YAML metadata, but the
YAML package does not currently support that.
This commit is contained in:
Vishesh Handa
2019-01-18 18:06:19 +01:00
parent 33f32ae786
commit 215197ca25

View File

@ -31,5 +31,23 @@ main() {
expect(note2, note);
});
/*
test('Markdown Serializer YAML Order', () {
var str = """---
type: Journal
created: 2017-02-15T22:41:19+01:00
foo: bar
---
Alright.""";
var serializer = new MarkdownYAMLSerializer();
var note = serializer.decode(str);
var actualStr = serializer.encode(note);
expect(actualStr, str);
});
*/
});
}