Skip to content

Commit

Permalink
fix std::vector<std::string>
Browse files Browse the repository at this point in the history
  • Loading branch information
njzjz authored Dec 14, 2023
1 parent 5aa4636 commit ca80e70
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/api_cc/tests/test_deepmd_exception.cc
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ TEST(TestDeepmdException, deepmdexception_nofile_deeppot) {
}

TEST(TestDeepmdException, deepmdexception_nofile_deeppotmodeldevi) {
ASSERT_THROW(deepmd::DeepPotModelDevi(std::vector<std::string>("_no_such_file.pb", "_no_such_file.pb")), deepmd::deepmd_exception);
ASSERT_THROW(deepmd::DeepPotModelDevi({"_no_such_file.pb", "_no_such_file.pb"}), deepmd::deepmd_exception);
}

TEST(TestDeepmdException, deepmdexception_nofile_deeptensor) {
Expand Down

0 comments on commit ca80e70

Please sign in to comment.