Ejemplo n.º 1
0
 public void PrintsMinimalAst()
 {
     var ast = new ScalarDefinition
     {
         Name = new Name {Value = "foo"},
     };
     var schemaPrinter = new SchemaPrinter();
     schemaPrinter.Visit(ast).Should().Be("scalar foo");
 }
Ejemplo n.º 2
0
        public void PrintsMinimalAst()
        {
            var ast = new ScalarDefinition
            {
                Name = new Name {
                    Value = "foo"
                },
            };
            var schemaPrinter = new SchemaPrinter();

            schemaPrinter.Visit(ast).Should().Be("scalar foo");
        }