Beispiel #1
0
        public void outputs_to_the_current_directory_by_default()
        {
            File.Exists(Temp("Foo.cs")).Should(Be.False);

            pp.ProcessFile(Example("PP", "one-file", "Foo.cs.pp")).ShouldEqual(Temp("Foo.cs"));

            File.ReadAllText(Temp("Foo.cs")).ShouldEqual(@"
				// Part of Assembly: FluentXml.Specs
				namespace FluentXml.Specs {
					public class Foo {}
				}
				"                .TrimLeadingTabs(4, convert: false).TrimStartNewline());
        }