13 lines · 272 B · Go
RawDownload
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())}

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t