diff --git a/src/preferences-test.h b/src/preferences-test.h
index 32218daf31f8e74740c92543794df05022b3a599..8e8ddb65bb745041eec54ee6f3f1d646de1264f9 100644 (file)
--- a/src/preferences-test.h
+++ b/src/preferences-test.h
prefs->addObserver(obs);
prefs->setInt(path, 10);
TS_ASSERT_EQUALS(obs.value, 10);
- prefs->setInt("some/other/random/path", 10);
+ prefs->setInt("/some/other/random/path", 10);
TS_ASSERT_EQUALS(obs.value, 10); // value should not change
prefs->removeObserver(obs);
fill-column:99
End:
*/
-// vim: filetype=cpp:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:encoding=utf-8:textwidth=99 :
+// vim: filetype=cpp:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:fileencoding=utf-8:textwidth=99 :