diff --git a/AspectedRouting.Test/LuaPrinterTest.cs b/AspectedRouting.Test/LuaPrinterTest.cs index aec8d30..54ca94c 100644 --- a/AspectedRouting.Test/LuaPrinterTest.cs +++ b/AspectedRouting.Test/LuaPrinterTest.cs @@ -1,5 +1,6 @@ using System.Collections.Generic; using AspectedRouting.IO.itinero1; +using AspectedRouting.IO.LuaSkeleton; using AspectedRouting.Language; using AspectedRouting.Language.Functions; using Xunit; @@ -21,7 +22,7 @@ namespace AspectedRouting.Test } ); - var luaPrinter = new LuaPrinter(new Context()); + var luaPrinter = new LuaSkeleton(new Context()); var result = luaPrinter.MappingToLua(mapping); Assert.Equal( @@ -44,7 +45,7 @@ namespace AspectedRouting.Test ) } ); - var luaPrinter = new LuaPrinter(new Context()); + var luaPrinter = new LuaSkeleton(new Context()); var result = luaPrinter.MappingToLua(mapping); Assert.Equal("{\n a = {\n b = 42\n }\n}", result); } diff --git a/AspectedRouting.Test/TestInterpreter.cs b/AspectedRouting.Test/TestInterpreter.cs index f53b6de..0062f21 100644 --- a/AspectedRouting.Test/TestInterpreter.cs +++ b/AspectedRouting.Test/TestInterpreter.cs @@ -25,7 +25,7 @@ namespace AspectedRouting.Test {"ferry", "yes"} }; - Assert.Equal("tags -> double", string.Join(", ", aspect.Types)); + Assert.Equal("tags -> pdouble", string.Join(", ", aspect.Types)); Assert.Equal(42d, new Apply(aspect, new Constant(tags)).Evaluate(null)); }