summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 886a6b7)
raw | patch | inline | side by side (parent: 886a6b7)
author | tweenk <tweenk@users.sourceforge.net> | |
Sun, 7 Dec 2008 20:55:20 +0000 (20:55 +0000) | ||
committer | tweenk <tweenk@users.sourceforge.net> | |
Sun, 7 Dec 2008 20:55:20 +0000 (20:55 +0000) |
src/preferences-test.h | patch | blob | history |
diff --git a/src/preferences-test.h b/src/preferences-test.h
index 32218daf31f8e74740c92543794df05022b3a599..79f85210635da7184cec55ddf68eabe061432ac6 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);