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",
|
||||
Type: "Map",
|
||||
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,
|
||||
Type: "Boolean",
|
||||
Description: "Another description",
|
||||
|
|
|
@ -93,11 +93,11 @@ func TestBuildNodes_ChildExpansion(t *testing.T) {
|
|||
TopLevel: true,
|
||||
Type: "Map",
|
||||
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",
|
||||
Attributes: []attributeNode{
|
||||
{Title: "deepSub", Type: "Boolean"},
|
||||
|
|
|
@ -21,7 +21,7 @@ This is a description
|
|||
:::
|
||||
|
||||
|
||||
### some_field.\<name\>.my_attribute
|
||||
### some_field._name_.my_attribute
|
||||
|
||||
**`Type: Boolean`**
|
||||
|
||||
|
|
Loading…
Reference in New Issue