package main

import (
	"reflect"
	"testing"
)

func TestEmbeddedPaths(t *testing.T) {
	if hello != "hello\n" {
		t.Fatalf("hello=%q", hello)
	}
	want := []string{"assets/hello.txt", "assets/nested/note.txt"}
	if got := paths(directory); !reflect.DeepEqual(got, want) {
		t.Fatalf("directory: %v", got)
	}
	if len(paths(glob)) != 4 || len(paths(all)) != 5 {
		t.Fatal("unexpected glob or all results")
	}
}
