Skip to content

Commit f5cd172

Browse files
committed
RuboCop
1 parent 1f1c189 commit f5cd172

2 files changed

Lines changed: 7 additions & 7 deletions

File tree

demo/basic_diff

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@ puts
1212

1313
puts "Diffing two hashes:"
1414
puts differ.diff_objects(
15-
{ name: "Alice", age: 30 },
16-
{ name: "Bob", age: 25 }
15+
{ name: "Alice", age: 30 },
16+
{ name: "Bob", age: 25 }
1717
)
1818
puts
1919

demo/diff_with_labels

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,13 @@ require "bundler/setup"
55
require "difftastic"
66

77
differ = Difftastic::Differ.new(
8-
color: :always,
9-
left_label: "Expected",
10-
right_label: "Actual"
8+
color: :always,
9+
left_label: "Expected",
10+
right_label: "Actual"
1111
)
1212

1313
puts "Diff with labels:"
1414
puts differ.diff_objects(
15-
{ status: "pending", count: 5 },
16-
{ status: "completed", count: 10 }
15+
{ status: "pending", count: 5 },
16+
{ status: "completed", count: 10 }
1717
)

0 commit comments

Comments
 (0)