Skip to content

Commit

Permalink
[#1057] Add negative check
Browse files Browse the repository at this point in the history
  • Loading branch information
fivitti committed Jul 25, 2023
1 parent 3e59ae9 commit 5ab1dc2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions backend/util/util_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -389,6 +389,7 @@ func TestNewSystemCommandExecutor(t *testing.T) {
require.NotNil(t, path)
require.Nil(t, err)
require.True(t, executor.IsFileExist(path))
require.False(t, executor.IsFileExist("/file/not/exists"))
}

// Tests if the SET_LOG_LEVEL environment variable is used correctly to set
Expand Down

0 comments on commit 5ab1dc2

Please sign in to comment.