Skip to content
This repository was archived by the owner on May 28, 2025. It is now read-only.

Commit bfe5e9c

Browse files
committed
Fix condition typo
1 parent 8c94e2b commit bfe5e9c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/test/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -810,7 +810,7 @@ impl ConfigCodeBlock {
810810

811811
fn get_block_config(&self) -> Config {
812812
let mut config = Config::default();
813-
if self.config_value.is_some() && self.config_value.is_some() {
813+
if self.config_name.is_some() && self.config_value.is_some() {
814814
config.override_value(
815815
self.config_name.as_ref().unwrap(),
816816
self.config_value.as_ref().unwrap(),

0 commit comments

Comments
 (0)