diff --git a/Source/MeshIO/Testing/imstkMeshIOTest.cpp b/Source/MeshIO/Testing/imstkMeshIOTest.cpp index 4295f1676c9429d5150f454e85f4c34d814b2309..7a61534b09fb1fe743e2f2a625b6209ad6cb2bbb 100644 --- a/Source/MeshIO/Testing/imstkMeshIOTest.cpp +++ b/Source/MeshIO/Testing/imstkMeshIOTest.cpp @@ -29,5 +29,5 @@ using namespace imstk; TEST(imstkMeshIODeathTest, FailOnMissingFile) { - EXPECT_DEATH(MeshIO::read<SurfaceMesh>(iMSTK_DATA_ROOT "doesntexist.obj"),"doesntexist.obj doesn't exist"); + EXPECT_DEATH(MeshIO::read<SurfaceMesh>(iMSTK_DATA_ROOT "doesntexist.obj"), "doesntexist.obj doesn't exist"); } \ No newline at end of file diff --git a/Source/MeshIO/imstkMeshIO.cpp b/Source/MeshIO/imstkMeshIO.cpp index c62684bcdb9e19b775b1fe114817089181a1ea06..e3966184ac0ca5cdeced48f646b645a8132ba4aa 100644 --- a/Source/MeshIO/imstkMeshIO.cpp +++ b/Source/MeshIO/imstkMeshIO.cpp @@ -61,7 +61,7 @@ std::shared_ptr<PointSet> MeshIO::read(const std::string& filePath) { bool isDirectory = false; - bool exists = fileExists(filePath, isDirectory); + bool exists = fileExists(filePath, isDirectory); CHECK(exists && !isDirectory) << "File " << filePath << " doesn't exist or is a directory.";