aboutsummaryrefslogtreecommitdiff
path: root/test/symbol-test.cc
diff options
context:
space:
mode:
authorAmadeusz Żołnowski <aidecoe@aidecoe.name>2011-11-25 16:34:48 +0100
committerDavid Bremner <bremner@debian.org>2011-11-26 09:21:04 -0800
commit0da10aa1bc021bdf7fb43c818db1d59f28f30ecd (patch)
treea646fc443d38fc3dc8bdef44c23407119360323e /test/symbol-test.cc
parent071456e5e6c513e99e2f2d7b770c760de92f681f (diff)
Whitespaces cleanup.
Diffstat (limited to 'test/symbol-test.cc')
-rw-r--r--test/symbol-test.cc13
1 files changed, 7 insertions, 6 deletions
diff --git a/test/symbol-test.cc b/test/symbol-test.cc
index ec250b2..1548ca4 100644
--- a/test/symbol-test.cc
+++ b/test/symbol-test.cc
@@ -1,16 +1,17 @@
#include <stdio.h>
#include <xapian.h>
#include <notmuch.h>
-int main (){
- (void)notmuch_database_open ("fakedb",
- NOTMUCH_DATABASE_MODE_READ_ONLY);
- try{
- (void)new Xapian::WritableDatabase ("./nonexistant", Xapian::DB_OPEN);
+int main() {
+ (void) notmuch_database_open("fakedb", NOTMUCH_DATABASE_MODE_READ_ONLY);
+
+ try {
+ (void) new Xapian::WritableDatabase("./nonexistant", Xapian::DB_OPEN);
} catch (const Xapian::Error &error) {
- printf("caught %s\n",error.get_msg().c_str());
+ printf("caught %s\n", error.get_msg().c_str());
return 0;
}
+
return 1;
}