diff --git a/examples/demo_test.go b/examples/demo_test.go index b31cf880..22fd2f77 100644 --- a/examples/demo_test.go +++ b/examples/demo_test.go @@ -78,14 +78,14 @@ func TestGenDemoTestCase(t *testing.T) { } } -func Example_TestCase() { +func Example_demo() { err := hrp.NewRunner(nil).Run(demoTestCase) // hrp.Run(demoTestCase) fmt.Println(err) // Output: // } -func Example_JSONTestCase() { +func Example_jsonDemo() { testCase := &hrp.TestCasePath{Path: demoTestCaseJSONPath} err := hrp.NewRunner(nil).Run(testCase) // hrp.Run(testCase) fmt.Println(err) @@ -93,7 +93,7 @@ func Example_JSONTestCase() { // } -func Example_YAMTestCase() { +func Example_yamlDemo() { testCase := &hrp.TestCasePath{Path: demoTestCaseYAMLPath} err := hrp.NewRunner(nil).Run(testCase) // hrp.Run(testCase) fmt.Println(err)