1
0
mirror of https://github.com/hybridgroup/gobot.git synced 2025-04-27 13:48:56 +08:00

16 lines
254 B
Go
Raw Normal View History

2014-11-07 16:21:39 -08:00
package sysfs
import (
"os"
"testing"
"github.com/hybridgroup/gobot"
2014-11-07 16:21:39 -08:00
)
func TestFilesystemOpen(t *testing.T) {
SetFilesystem(&NativeFilesystem{})
file, err := OpenFile(os.DevNull, os.O_RDONLY, 666)
gobot.Assert(t, err, nil)
var _ File = file
}