Add legacy output for itinero1.0 formats
This commit is contained in:
parent
a98e1c4738
commit
6a70c4bc52
9 changed files with 39 additions and 28 deletions
|
@ -22,7 +22,7 @@ namespace AspectedRouting.Test
|
|||
}
|
||||
);
|
||||
|
||||
var luaPrinter = new LuaSkeleton(new Context());
|
||||
var luaPrinter = new LuaSkeleton(new Context(), false);
|
||||
var result = luaPrinter.MappingToLua(mapping);
|
||||
|
||||
Assert.Equal(
|
||||
|
@ -45,7 +45,7 @@ namespace AspectedRouting.Test
|
|||
)
|
||||
}
|
||||
);
|
||||
var luaPrinter = new LuaSkeleton(new Context());
|
||||
var luaPrinter = new LuaSkeleton(new Context(), false);
|
||||
var result = luaPrinter.MappingToLua(mapping);
|
||||
Assert.Equal("{\n a = {\n b = 42\n }\n}", result);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue