This prepares for pseudo-root when the CLI doesn't provide one by improving the error messages in general, as well being consistent about parameter order. Signed-off-by: Adrian Cole <adrian@tetrate.io> Signed-off-by: Adrian Cole <adrian@tetrate.io>
12 lines
193 B
Go
12 lines
193 B
Go
package syscallfs
|
|
|
|
import (
|
|
"testing"
|
|
|
|
"github.com/tetratelabs/wazero/internal/testing/require"
|
|
)
|
|
|
|
func TestEmptyFS_String(t *testing.T) {
|
|
require.Equal(t, "empty:/:ro", EmptyFS.String())
|
|
}
|