errors.toml 1.2 KB

123456789101112131415161718192021222324252627
  1. [[cmd]]
  2. name = "Running dog with ‘--wibble’ warns about the invalid argument"
  3. shell = "dog --wibble"
  4. stdout = { empty = true }
  5. stderr = { string = "wibble" }
  6. status = 3
  7. [[cmd]]
  8. name = "Running dog with ‘XYZZY’ warns about the invalid record type"
  9. shell = "dog XYZZY dns.google"
  10. stdout = { empty = true }
  11. stderr = { string = "XYZZY" }
  12. status = 3
  13. [[cmd]]
  14. name = "Running dog with ‘OPT’ warns that OPT requests are sent by default"
  15. shell = "dog OPT dns.google"
  16. stdout = { empty = true }
  17. stderr = { string = "OPT request is sent by default" }
  18. status = 3
  19. [[cmd]]
  20. name = "Running dog with a domain longer than 255 bytes warns about it being too long"
  21. shell = "dog 12345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890"
  22. stdout = { empty = true }
  23. stderr = { string = "12345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890" }
  24. status = 3