Skip to content

Commit

Permalink
refactor: update for CI
Browse files Browse the repository at this point in the history
  • Loading branch information
findolor committed Oct 21, 2024
1 parent 1e31c79 commit 5aede3d
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions crates/common/src/unit_tests/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,6 @@ impl TestRunner {
}

fn get_final_bindings(&mut self, is_test_dotrain: bool) -> Vec<Rebind> {
let dotrain: String;
let scenario_bindings: Vec<Rebind> = self
.settings
.test_config
Expand All @@ -105,10 +104,10 @@ impl TestRunner {
.collect();
let mut final_bindings: Vec<Rebind> = vec![];

if is_test_dotrain {
dotrain = self.dotrains.test_dotrain.clone();
let dotrain = if is_test_dotrain {
self.dotrains.test_dotrain.clone()
} else {
dotrain = self.dotrains.main_dotrain.clone();
self.dotrains.main_dotrain.clone()
};

let rain_document =
Expand Down

0 comments on commit 5aede3d

Please sign in to comment.