Skip to content

Commit

Permalink
test: add load exists
Browse files Browse the repository at this point in the history
  • Loading branch information
siyul-park committed Nov 26, 2023
1 parent 7093c4c commit 20dccee
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions pkg/loader/loader_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,10 @@ func TestLoader_LoadOne(t *testing.T) {
assert.NoError(t, err)
assert.NotNil(t, r)

r, err = ld.LoadOne(context.Background(), spec2.GetID())
assert.NoError(t, err)
assert.NotNil(t, r)

_, ok := tb.LookupByID(spec1.GetID())
assert.True(t, ok)

Expand Down

0 comments on commit 20dccee

Please sign in to comment.