@@ -172,7 +172,7 @@ using UcellDeathTest = UcellTest;
172172TEST_F (UcellTest, Constructor)
173173{
174174 EXPECT_EQ (ucell->Coordinate , " Direct" );
175- EXPECT_EQ (ucell->latName , " none " );
175+ EXPECT_EQ (ucell->latName , " user_defined_lattice " );
176176 EXPECT_DOUBLE_EQ (ucell->lat0 , 0.0 );
177177 EXPECT_DOUBLE_EQ (ucell->lat0_angstrom , 0.0 );
178178 EXPECT_EQ (ucell->ntype , 0 );
@@ -547,7 +547,7 @@ TEST_F(UcellTest, RemakeCell)
547547
548548TEST_F (UcellDeathTest, RemakeCellWarnings)
549549{
550- std::vector<std::string> latname_in = {" none " , " trigonal" , " bacm" , " triclinic" , " arbitrary" };
550+ std::vector<std::string> latname_in = {" user_defined_lattice " , " trigonal" , " bacm" , " triclinic" , " arbitrary" };
551551 for (int i = 0 ; i < latname_in.size (); ++i)
552552 {
553553 ucell->latvec .e11 = 10.0 ;
@@ -563,7 +563,7 @@ TEST_F(UcellDeathTest, RemakeCellWarnings)
563563 testing::internal::CaptureStdout ();
564564 EXPECT_EXIT (unitcell::remake_cell (ucell->lat ), ::testing::ExitedWithCode (1 ), " " );
565565 std::string output = testing::internal::GetCapturedStdout ();
566- if (latname_in[i] == " none " )
566+ if (latname_in[i] == " user_defined_lattice " )
567567 {
568568 EXPECT_THAT (output, testing::HasSubstr (" to use fixed_ibrav, latname must be provided" ));
569569 }
0 commit comments