Skip to content

Commit 0dfbbc2

Browse files
dido18mirkoCrobu
andauthored
Update internal/orchestrator/modelsindex/modelsindex_test.go
Co-authored-by: mirkoCrobu <[email protected]>
1 parent 1e19ef0 commit 0dfbbc2

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
@@ -42,7 +42,7 @@ func TestGenerateModelsIndexFromFile(t *testing.T) {
4242
})
4343

4444
t.Run("it fails if model-list.yaml does not exist", func(t *testing.T) {
45-
nonExistentPath := paths.New("nonexistent.yaml")
45+
nonExistentPath := paths.New("nonexistentdir")
4646
modelsIndex, err := GenerateModelsIndexFromFile(nonExistentPath)
4747
assert.Error(t, err)
4848
assert.Nil(t, modelsIndex)

0 commit comments

Comments
 (0)