Skip to content

Commit

Permalink
Add test
Browse files Browse the repository at this point in the history
  • Loading branch information
vansante committed Dec 30, 2024
1 parent 9314a45 commit 670d220
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions error_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ func TestError(t *testing.T) {
{errors.New("exit status foo"), "/sbin/foo bar qux", "command not found"},
// Quoted error
{errors.New("exit status quoted"), "\"/sbin/foo\" bar qux", "\"some\" 'random' `quotes`"},
{ErrFilesystemAlreadyMounted, "does not matter", "cannot mount 'fh27/115125': filesystem already mounted"},
}

for _, test := range tests {
Expand Down

0 comments on commit 670d220

Please sign in to comment.