mirror of
https://github.com/aquasecurity/trivy.git
synced 2025-12-22 23:26:39 -08:00
test(cli): Fix assertion helptext (#4966)
This commit is contained in:
@@ -102,7 +102,7 @@ func TestManager_Register(t *testing.T) {
|
|||||||
})
|
})
|
||||||
require.NoError(t, err)
|
require.NoError(t, err)
|
||||||
// WASM modules must be generated before running the tests.
|
// WASM modules must be generated before running the tests.
|
||||||
require.Equal(t, count, 3, "missing WASM modules, try 'make test' or 'make generate-test-modules'")
|
require.Equal(t, count, 3, "missing WASM modules, try 'mage test:unit' or 'mage test:generateModules'")
|
||||||
|
|
||||||
for _, tt := range tests {
|
for _, tt := range tests {
|
||||||
t.Run(tt.name, func(t *testing.T) {
|
t.Run(tt.name, func(t *testing.T) {
|
||||||
|
|||||||
Reference in New Issue
Block a user