Skip to content

Commit 24d1b09

Browse files
committed
fix test
1 parent 9f73db4 commit 24d1b09

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

internal/orchestrator/modelsindex/modelsindex_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ func TestModelsIndex(t *testing.T) {
7272

7373
t.Run("it gets models lite by a brick", func(t *testing.T) {
7474
model := modelsIndex.GetModelsLiteInfoByBrick("not-existing-brick")
75-
assert.Nil(t, model)
75+
assert.Empty(t, model)
7676

7777
model = modelsIndex.GetModelsLiteInfoByBrick("arduino:object_detection")
7878
assert.Len(t, model, 1)

0 commit comments

Comments
 (0)