Skip to content

Commit 57592fb

Browse files
committed
fix tests
1 parent a4694ad commit 57592fb

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Diff for: modules/core/task/include/task.hpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ class Task {
6565

6666
private:
6767
std::vector<std::string> functions_order_;
68-
std::vector<std::string> right_functions_order_ = {"validation", "PreProcessing", "run", "post_processing"};
68+
std::vector<std::string> right_functions_order_ = {"Validation", "PreProcessing", "Run", "PostProcessing"};
6969
const double max_test_time_ = 1.0;
7070
std::chrono::high_resolution_clock::time_point tmp_time_point_;
7171
};

Diff for: modules/core/task/src/task.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ bool ppc::core::Task::PostProcessing() {
3636
}
3737

3838
void ppc::core::Task::InternalOrderTest(const std::string& str) {
39-
if (!functions_order_.empty() && str == functions_order_.back() && str == "run") {
39+
if (!functions_order_.empty() && str == functions_order_.back() && str == "Run") {
4040
return;
4141
}
4242

0 commit comments

Comments
 (0)