Browse Source

Fix key manager test.

cl-refactor
chriseth 10 years ago
parent
commit
932834e3bc
  1. 2
      test/libethcore/keymanager.cpp

2
test/libethcore/keymanager.cpp

@ -72,7 +72,7 @@ BOOST_AUTO_TEST_CASE(KeyManagerKeysFile)
TransientDirectory tmpDir;
km.setKeysFile(tmpDir.path());
BOOST_CHECK(!km.exists());
BOOST_CHECK_THROW(km.create(password), FileError);
BOOST_CHECK_THROW(km.create(password), boost::filesystem::filesystem_error);
km.setKeysFile(tmpDir.path() + "/notExistingDir/keysFile.json");
BOOST_CHECK_NO_THROW(km.create(password));
BOOST_CHECK(km.exists());

Loading…
Cancel
Save