public void Document_With_Two_Operations() { string query = "query foo { } query bar { }"; var classifications = new List <SyntaxClassification>(); var classifier = new StringGraphQLClassifier(query.AsSpan(), classifications); classifier.Parse(); classifications.MatchSnapshot(); }
public void Document_With_Block_String() { string query = @" query foo { } """""" a b """""" query foo { } "; var classifications = new List <SyntaxClassification>(); var classifier = new StringGraphQLClassifier(query.AsSpan(), classifications); classifier.Parse(); classifications.MatchSnapshot(); }