Skip to content

Commit

Permalink
Project import generated by Copybara.
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 309780672
  • Loading branch information
Googler authored and robshakir committed May 4, 2020
1 parent bf381dd commit 6fa03d5
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 119 deletions.
16 changes: 0 additions & 16 deletions go.mod

This file was deleted.

95 changes: 0 additions & 95 deletions go.sum

This file was deleted.

4 changes: 2 additions & 2 deletions schemas/schema_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -34,11 +34,11 @@ func TestSingleSchema(t *testing.T) {
key := "oc"
rootStruct := &gostructs.Device{}
schemaTree := map[string]*yang.Entry{
"x": &yang.Entry{},
"x": {},
}
schemaTreeFn := func() (map[string]*yang.Entry, error) {
return map[string]*yang.Entry{
"x": &yang.Entry{},
"x": {},
}, nil
}

Expand Down
12 changes: 6 additions & 6 deletions tests/subscribe/datatreepaths/datatreepaths_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -948,8 +948,8 @@ func TestMakeQuery(t *testing.T) {
}},
inKnownVars: keyQuery{
"%%vars%%": []map[string]string{
map[string]string{"val": "one"},
map[string]string{"val": "two"},
{"val": "one"},
{"val": "two"},
},
},
want: []*gpb.Path{
Expand All @@ -967,12 +967,12 @@ func TestMakeQuery(t *testing.T) {
}},
inKnownVars: keyQuery{
"%%keyone%%": []map[string]string{
map[string]string{"v1": "one"},
map[string]string{"v1": "two"},
{"v1": "one"},
{"v1": "two"},
},
"%%keytwo%%": []map[string]string{
map[string]string{"v2": "one"},
map[string]string{"v2": "two"},
{"v2": "one"},
{"v2": "two"},
},
},
want: []*gpb.Path{
Expand Down

0 comments on commit 6fa03d5

Please sign in to comment.