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

15 lines
253 B
Go

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