sway/get_tree_test.go
2023-10-07 16:21:49 +02:00

17 lines
203 B
Go

package sway
import (
"context"
"fmt"
"testing"
)
func TestGetTree(t *testing.T) {
root, err := GetTree(context.Background())
if err != nil {
t.Fatal(err)
}
fmt.Println(root.ID, root.Name)
}