Skip to content

Commit c2e53d1

Browse files
committed
fix: unit tests
Signed-off-by: Peefy <xpf6677@163.com>
1 parent 3bf6e04 commit c2e53d1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/options/run_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@ func TestRunOptions_Validate(t *testing.T) {
136136
if err == nil {
137137
t.Errorf("RunOptions.Validate() did not return an error")
138138
} else {
139-
expectedError := "invalid output format, expected [json yaml toml], got invalid_format"
139+
expectedError := "invalid output format, expected [json yaml toml xml], got invalid_format"
140140
if err.Error() != expectedError {
141141
t.Errorf("unexpected error message:\nexpected: %s\ngot: %s", expectedError, err.Error())
142142
}

0 commit comments

Comments
 (0)