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

16 lines
268 B
Go

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