xrandr/config_test.go

18 lines
218 B
Go
Raw Normal View History

2023-12-18 23:08:42 +01:00
package xrandr
import (
"fmt"
"testing"
)
func TestConfig(t *testing.T) {
configs, err := GetCurrentConfig()
if err != nil {
panic(err)
}
for _, config := range configs.Displays {
fmt.Println(config)
}
}