@@ -73,7 +73,7 @@ TEST_F(PrintInfoTest, SetupParameters)
7373 PARAM.sys .gamma_only_local = false ;
7474 PARAM.input .calculation = cal_type[i];
7575 testing::internal::CaptureStdout ();
76- EXPECT_NO_THROW (ModuleIO::print_parameters (*ucell, *kv));
76+ EXPECT_NO_THROW (ModuleIO::print_parameters (*ucell, *kv, PARAM. input ));
7777 output = testing::internal::GetCapturedStdout ();
7878 if (PARAM.input .calculation == " scf" )
7979 {
@@ -96,7 +96,7 @@ TEST_F(PrintInfoTest, SetupParameters)
9696 {
9797 PARAM.input .mdp .md_type = md_types[j];
9898 testing::internal::CaptureStdout ();
99- EXPECT_NO_THROW (ModuleIO::print_parameters (*ucell, *kv));
99+ EXPECT_NO_THROW (ModuleIO::print_parameters (*ucell, *kv, PARAM. input ));
100100 output = testing::internal::GetCapturedStdout ();
101101 EXPECT_THAT (output,testing::HasSubstr (" Molecular Dynamics simulations" ));
102102 if (PARAM.mdp .md_type == " fire" )
@@ -131,7 +131,7 @@ TEST_F(PrintInfoTest, SetupParameters)
131131 {
132132 PARAM.input .basis_type = basis_type[i];
133133 testing::internal::CaptureStdout ();
134- EXPECT_NO_THROW (ModuleIO::print_parameters (*ucell, *kv));
134+ EXPECT_NO_THROW (ModuleIO::print_parameters (*ucell, *kv, PARAM. input ));
135135 output = testing::internal::GetCapturedStdout ();
136136 if (PARAM.input .basis_type == " lcao" )
137137 {
0 commit comments