18 lines
218 B
Go
18 lines
218 B
Go
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)
|
|
}
|
|
}
|