diff --git a/src/writer/basic.rs b/src/writer/basic.rs index 3369a5ce..570fee97 100644 --- a/src/writer/basic.rs +++ b/src/writer/basic.rs @@ -281,7 +281,6 @@ impl Basic { feature: &gherkin::Feature, ) -> io::Result<()> { let out = format!("{}: {}", feature.keyword, feature.name); - self.lines_to_clear += self.styles.lines_count(&out); self.output.write_line(&self.styles.ok(out)) } @@ -327,7 +326,6 @@ impl Basic { rule.name, indent = " ".repeat(self.indent) ); - self.lines_to_clear += self.styles.lines_count(&out); self.indent += 2; self.output.write_line(&self.styles.ok(out)) } @@ -455,7 +453,6 @@ impl Basic { retries.current, retries.left + retries.current, ); - self.lines_to_clear += self.styles.lines_count(&out); self.output.write_line(&self.styles.retry(out)) } else { let out = format!( @@ -464,7 +461,6 @@ impl Basic { scenario.keyword, scenario.name, ); - self.lines_to_clear += self.styles.lines_count(&out); self.output.write_line(&self.styles.ok(out)) } }