//go:build !wasm

package osfs

import (
	"io/fs"
	"reflect"
	"testing"
)

var _ fs.File = &file{}

func TestDefault(t *testing.T) {
	want := &BoundOS{}
	got := Default

	if reflect.TypeOf(got) != reflect.TypeFor[*BoundOS]() {
		t.Errorf("wanted Default to be %T got %T", want, got)
	}
}

var (
	// API call assertions
	_ = New("/")
	_ = New("/", WithBoundOS())
)
