mirror of https://github.com/databricks/cli.git
Update tests
This commit is contained in:
parent
42e3f4cb1b
commit
99b1700bc3
|
@ -20,12 +20,12 @@ func TestBuildMarkdownAnchors(t *testing.T) {
|
||||||
Title: "my_attribute",
|
Title: "my_attribute",
|
||||||
Type: "Map",
|
Type: "Map",
|
||||||
Description: "Desc with link",
|
Description: "Desc with link",
|
||||||
Link: "some_field.<name>.my_attribute",
|
Link: "some_field._name_.my_attribute",
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
Title: "some_field.<name>.my_attribute",
|
Title: "some_field._name_.my_attribute",
|
||||||
TopLevel: false,
|
TopLevel: false,
|
||||||
Type: "Boolean",
|
Type: "Boolean",
|
||||||
Description: "Another description",
|
Description: "Another description",
|
||||||
|
|
|
@ -93,11 +93,11 @@ func TestBuildNodes_ChildExpansion(t *testing.T) {
|
||||||
TopLevel: true,
|
TopLevel: true,
|
||||||
Type: "Map",
|
Type: "Map",
|
||||||
ObjectKeyAttributes: []attributeNode{
|
ObjectKeyAttributes: []attributeNode{
|
||||||
{Title: "mapSub", Type: "Map", Link: "myMap.<name>.mapSub"},
|
{Title: "mapSub", Type: "Map", Link: "myMap._name_.mapSub"},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
Title: "myMap.<name>.mapSub",
|
Title: "myMap._name_.mapSub",
|
||||||
Type: "Map",
|
Type: "Map",
|
||||||
Attributes: []attributeNode{
|
Attributes: []attributeNode{
|
||||||
{Title: "deepSub", Type: "Boolean"},
|
{Title: "deepSub", Type: "Boolean"},
|
||||||
|
|
|
@ -21,7 +21,7 @@ This is a description
|
||||||
:::
|
:::
|
||||||
|
|
||||||
|
|
||||||
### some_field.\<name\>.my_attribute
|
### some_field._name_.my_attribute
|
||||||
|
|
||||||
**`Type: Boolean`**
|
**`Type: Boolean`**
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue