summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorDave Davenport <qball@gmpclient.org>2017-05-14 17:42:05 +0200
committerDave Davenport <qball@gmpclient.org>2017-05-14 17:42:05 +0200
commit4e7aa06333341e5f0c76c909355ff00614c1ae0f (patch)
tree1a9c767c9ac3e6fc73171f070510a0d91081fedc /test
parentf5ba9359a99ae85fc2fb83d7e8feeb908bc9b73d (diff)
Update test to have no user path.
Diffstat (limited to 'test')
-rw-r--r--test/theme-parser-test.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/theme-parser-test.c b/test/theme-parser-test.c
index 55a692a1..68eba616 100644
--- a/test/theme-parser-test.c
+++ b/test/theme-parser-test.c
@@ -803,10 +803,10 @@ END_TEST
START_TEST ( test_import_error )
{
- rofi_theme_parse_string("@import \"non-existing-file.rasi\"");
+ rofi_theme_parse_string("@import \"/non-existing-file.rasi\"");
const char *errstr =
- "Failed to open theme: <i>/home/qball/Programming/GitHub/rofi/build/non-existing-file.rasi</i>\n"\
+ "Failed to open theme: <i>/non-existing-file.rasi</i>\n"\
"Error: <b>No such file or directory</b>";
ck_assert_int_eq ( error, 1);
ck_assert_str_eq ( error_msg->str, errstr );