diff --git a/doc_test.go b/doc_test.go index 80683d5..1eee213 100644 --- a/doc_test.go +++ b/doc_test.go @@ -67,6 +67,9 @@ func ExampleSpec_second() { } else { fmt.Println("Could not load this spec") } + + // Output: + // This spec is valid } func ExampleSpecValidator_Validate() { @@ -116,6 +119,9 @@ func ExampleSpecValidator_Validate_url() { fmt.Println("This spec has some validation warnings") } } + + // Output: + // This spec is valid } func ExampleAgainstSchema() {