aboutsummaryrefslogtreecommitdiff
path: root/tests/tst_utils.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/tst_utils.cpp')
-rw-r--r--tests/tst_utils.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/tst_utils.cpp b/tests/tst_utils.cpp
index c38629f..b1e676d 100644
--- a/tests/tst_utils.cpp
+++ b/tests/tst_utils.cpp
@@ -72,3 +72,9 @@ TEST_F(XdgCurrentDesktopUtilsTest, isPantheon)
setenv("XDG_CURRENT_DESKTOP", "PANTHEON", 1);
EXPECT_TRUE(is_pantheon());
}
+TEST_F(XdgCurrentDesktopUtilsTest, isBudgie)
+{
+ EXPECT_FALSE(is_budgie());
+ setenv("XDG_CURRENT_DESKTOP", "Budgie:GNOME", 1);
+ EXPECT_TRUE(is_budgie());
+}