mirror of
https://github.com/rclone/rclone.git
synced 2024-11-22 22:02:15 +08:00
14 lines
272 B
Go
14 lines
272 B
Go
|
package vfs
|
||
|
|
||
|
import (
|
||
|
"testing"
|
||
|
|
||
|
"github.com/stretchr/testify/assert"
|
||
|
)
|
||
|
|
||
|
func TestErrorError(t *testing.T) {
|
||
|
assert.Equal(t, "Success", OK.Error())
|
||
|
assert.Equal(t, "Function not implemented", ENOSYS.Error())
|
||
|
assert.Equal(t, "Low level error 99", Error(99).Error())
|
||
|
}
|