Skip to content

Commit ac59504

Browse files
committed
Fix unit tests
1 parent 2079a7c commit ac59504

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

tools/cli/internal/cli/merge/merge_test.go

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

151151
err := opts.PreRunE(nil)
152152
require.Error(t, err)
153-
require.EqualError(t, err, "output format must be either 'json' or 'yaml', got html")
153+
require.EqualError(t, err, "output format must be either 'json', 'yaml' or 'all', got html")
154154
}
155155

156156
func TestInvalidPath_PreRun(t *testing.T) {

tools/cli/internal/cli/split/split_test.go

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

173173
err := opts.PreRunE(nil)
174174
require.Error(t, err)
175-
require.EqualError(t, err, "output format must be either 'json' or 'yaml', got html")
175+
require.EqualError(t, err, "output format must be either 'json', 'yaml' or 'all', got html")
176176
}
177177

178178
func TestInvalidPath_PreRun(t *testing.T) {

0 commit comments

Comments
 (0)