github.com/hexonet/dnscontrol@v0.2.8/providers/octodns/octoyaml/parse_tests/007-apex-quote.js (about)

     1  // FYI: go-yaml writes an empty string as ""; python's yaml writes an empty string as "".
     2  // For that reason:
     3  // 006-apex:       tests YAML -> JSON.
     4  // 007-apex-quote: tests JS -> YAML -> JSON
     5  // It would be nice if go-yaml has an option to write '' instead of "".
     6  
     7  var REG = NewRegistrar("Third-Party","NONE");
     8  var CF = NewDnsProvider("bind", "BIND")
     9  D("example.tld",REG,DnsProvider(CF),
    10      DefaultTTL(307),
    11      A("@","1.2.3.4")
    12  );