rust/mapgen/src/lib.rs
changeset 14128 b04dac00e8e2
parent 14127 0c5b9cfda9ab
child 14137 3119d665d3c6
--- a/rust/mapgen/src/lib.rs	Sun Nov 04 04:43:30 2018 +0300
+++ b/rust/mapgen/src/lib.rs	Sun Nov 04 07:16:34 2018 +0300
@@ -111,6 +111,8 @@
     #[test]
     fn simple_load() {
         let text = r#"
+# comment
+
 templates:
   -
     width: 3072
@@ -132,10 +134,10 @@
         - {x: 1930, y: 1424, w: 1, h: 1}
     fill_points:
       - {x: 1023, y: 0}
+      - {x: 1023, y: 0}
 
 template_types:
     test: [0]
-
 "#;
 
         let mut generator = MapGenerator::new();