mirror of
https://github.com/helmfile/helmfile.git
synced 2026-09-30 11:13:11 +02:00
Merge pull request #62 from yxxhero/newExecutionID_unittest
Add unittest for newExecutionID
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
package helmexec
|
||||
|
||||
import (
|
||||
"testing"
|
||||
|
||||
"github.com/stretchr/testify/require"
|
||||
)
|
||||
|
||||
func TestNewExecutionID(t *testing.T) {
|
||||
idx := newExecutionID()
|
||||
idy := newExecutionID()
|
||||
require.NotEqual(t, idx, idy, "Execution IDs should be unique")
|
||||
}
|
||||
Reference in New Issue
Block a user