Skip to content

Commit 681b2b6

Browse files
authored
Fix integration snippet indentation (#299)
Fixes warning: ``` super_diff/tmp/integration_spec.rb:17: warning: mismatched indentations at 'end' with 'class' at 15 ```
1 parent f70439b commit 681b2b6

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
- Remove unused `syntax_tree` gems from development. [#297](https://github.com/splitwise/super_diff/pull/297)
99
- Simplify tiered lines elider. [#302](https://github.com/splitwise/super_diff/pull/302)
1010
- Support elision for flat line trees. [#300](https://github.com/splitwise/super_diff/pull/300)
11+
- Fix integration snippet indentation. [#299](https://github.com/splitwise/super_diff/pull/299)
1112

1213
## 0.18.0 - 2025-12-05
1314

spec/support/integration/test_programs/base.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ def minimal_program
106106
opt_before = RSpec::Expectations.configuration.on_potential_false_positives
107107
begin
108108
RSpec::Expectations.configuration.on_potential_false_positives = :nothing
109-
#{reindent(code, level: 3)}
109+
#{reindent(code, level: 3)}
110110
ensure
111111
RSpec::Expectations.configuration.on_potential_false_positives = opt_before
112112
end

0 commit comments

Comments
 (0)