From bfe5e9c108bff11eff00643b1d19b6665e43283e Mon Sep 17 00:00:00 2001 From: David Alber Date: Sun, 5 May 2019 11:55:11 -0700 Subject: [PATCH] Fix condition typo --- src/test/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/test/mod.rs b/src/test/mod.rs index 6766ba2af5462..23f6a69b8d187 100644 --- a/src/test/mod.rs +++ b/src/test/mod.rs @@ -810,7 +810,7 @@ impl ConfigCodeBlock { fn get_block_config(&self) -> Config { let mut config = Config::default(); - if self.config_value.is_some() && self.config_value.is_some() { + if self.config_name.is_some() && self.config_value.is_some() { config.override_value( self.config_name.as_ref().unwrap(), self.config_value.as_ref().unwrap(),