diff --git a/msg_test.go b/msg_test.go index af122d8..fca4554 100644 --- a/msg_test.go +++ b/msg_test.go @@ -40,6 +40,13 @@ func ExampleQuestion() { // Output: } +func ExampleCustomIcon() { + zenity.Info("All updates are complete.", + zenity.Title("Information"), + zenity.CustomIcon("./testdata/icon.png")) + // Output: +} + var msgFuncs = []struct { name string fn func(string, ...zenity.Option) error diff --git a/testdata/icon.png b/testdata/icon.png new file mode 100644 index 0000000..18987fe Binary files /dev/null and b/testdata/icon.png differ