diff --git a/hurricane/tests/HTest.cpp b/hurricane/tests/HTest.cpp index 7bfe3b0a..66d9321f 100644 --- a/hurricane/tests/HTest.cpp +++ b/hurricane/tests/HTest.cpp @@ -18,6 +18,15 @@ int main() { cout << "Error in RootLibrary creation" << endl; return 1; } + try { + Library* rootLibrary2 = Library::create(db, Name("RootLibrary2")); + if (rootLibrary2) { + cout << "Error in RootLibrary creation" << endl; + return 1; + } + } catch (const Hurricane::Error& e) { + cout << e.what() << endl; + } Library* workLibrary = Library::create(rootLibrary, Name("WorkLibrary")); if (!workLibrary) {