Skip to content

Commit

Permalink
[#200] Fix vcs/cmd test case on Unix OS's
Browse files Browse the repository at this point in the history
  • Loading branch information
mengdaming committed Feb 1, 2023
1 parent 6f01a0b commit 5125af9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/vcs/cmd/shell_unix_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ import (
func Test_unix_shell_encoding(t *testing.T) {
// nil means that we use Go's default string encoding (UTF-8)
// e.g. no conversion is required
assert.Equal(t, nil, GetShellAttributes().Encoding)
assert.Zero(t, GetShellAttributes().Encoding)
}

func Test_unix_shell_end_of_line(t *testing.T) {
Expand Down

0 comments on commit 5125af9

Please sign in to comment.