X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=src%2Fpreferences-test.h;h=8e8ddb65bb745041eec54ee6f3f1d646de1264f9;hb=a07ef8cb442640b12e4172d1c1da7f007e1e31d8;hp=32218daf31f8e74740c92543794df05022b3a599;hpb=dda29597012dd9033f6bbf3334ab4d7af77a459b;p=inkscape.git diff --git a/src/preferences-test.h b/src/preferences-test.h index 32218daf3..8e8ddb65b 100644 --- a/src/preferences-test.h +++ b/src/preferences-test.h @@ -78,7 +78,7 @@ public: 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); @@ -133,4 +133,4 @@ private: 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 :