Skip to content

Commit eb24cf4

Browse files
committed
Remove useless keywords.
1 parent 7802dd2 commit eb24cf4

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

internal/knowledge/graph_binder_test.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,8 @@ func TestShouldRelateAssets(t *testing.T) {
2323
assert.Len(t, g.Relations(), 1)
2424

2525
assert.ElementsMatch(t, g.Assets(), []Asset{
26-
Asset{Type: "from_type", Key: "from"},
27-
Asset{Type: "to_type", Key: "to"},
26+
{Type: "from_type", Key: "from"},
27+
{Type: "to_type", Key: "to"},
2828
})
2929
}
3030

@@ -38,6 +38,6 @@ func TestShouldBindAsset(t *testing.T) {
3838
assert.Len(t, g.Relations(), 0)
3939

4040
assert.ElementsMatch(t, g.Assets(), []Asset{
41-
Asset{Type: "from_type", Key: "from"},
41+
{Type: "from_type", Key: "from"},
4242
})
4343
}

0 commit comments

Comments
 (0)