Identify test helper functions (#487)
This commit is contained in:
@@ -13,6 +13,7 @@ import (
|
|||||||
)
|
)
|
||||||
|
|
||||||
func testgenInvalid(t *testing.T, input string) {
|
func testgenInvalid(t *testing.T, input string) {
|
||||||
|
t.Helper()
|
||||||
t.Logf("Input TOML:\n%s", input)
|
t.Logf("Input TOML:\n%s", input)
|
||||||
|
|
||||||
doc := map[string]interface{}{}
|
doc := map[string]interface{}{}
|
||||||
@@ -25,6 +26,7 @@ func testgenInvalid(t *testing.T, input string) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
func testgenValid(t *testing.T, input string, jsonRef string) {
|
func testgenValid(t *testing.T, input string, jsonRef string) {
|
||||||
|
t.Helper()
|
||||||
t.Logf("Input TOML:\n%s", input)
|
t.Logf("Input TOML:\n%s", input)
|
||||||
|
|
||||||
doc := map[string]interface{}{}
|
doc := map[string]interface{}{}
|
||||||
|
|||||||
Reference in New Issue
Block a user