Skip to content

Commit c2b6a13

Browse files
committed
Fix indentation
1 parent d4a967c commit c2b6a13

File tree

1 file changed

+48
-48
lines changed

1 file changed

+48
-48
lines changed

test/models/repo_test.rb

Lines changed: 48 additions & 48 deletions
Original file line numberDiff line numberDiff line change
@@ -56,54 +56,54 @@ class RepoTest < ActiveSupport::TestCase
5656
data = repo.generate_sparkline_data
5757
assert_equal(
5858
data,
59-
'Array map' => [
60-
{
61-
benchmark_result_type: 'Ips',
62-
columns: [
63-
{
64-
name: 'bench_1',
65-
data: [c1.id, c4.id, c7.id]
66-
},
67-
{
68-
name: 'bench_2',
69-
data: [c1.id + 1, c4.id + 1, c7.id + 1]
70-
}
71-
],
72-
},
73-
{
74-
benchmark_result_type: 'Memory',
75-
columns: [
76-
{
77-
name: 'rss_kb',
78-
data: [c1.id, c4.id, c7.id]
79-
}
80-
]
81-
}
82-
],
83-
'String to_i' => [
84-
{
85-
benchmark_result_type: 'Ips',
86-
columns: [
87-
{
88-
name: 'bench_1',
89-
data: [c1.id, c4.id, c7.id]
90-
},
91-
{
92-
name: 'bench_2',
93-
data: [c1.id + 1, c4.id + 1, c7.id + 1]
94-
}
95-
],
96-
},
97-
{
98-
benchmark_result_type: 'Memory',
99-
columns: [
100-
{
101-
name: 'rss_kb',
102-
data: [c1.id, c4.id, c7.id]
103-
}
104-
]
105-
}
106-
]
59+
'Array map' => [
60+
{
61+
benchmark_result_type: 'Ips',
62+
columns: [
63+
{
64+
name: 'bench_1',
65+
data: [c1.id, c4.id, c7.id]
66+
},
67+
{
68+
name: 'bench_2',
69+
data: [c1.id + 1, c4.id + 1, c7.id + 1]
70+
}
71+
],
72+
},
73+
{
74+
benchmark_result_type: 'Memory',
75+
columns: [
76+
{
77+
name: 'rss_kb',
78+
data: [c1.id, c4.id, c7.id]
79+
}
80+
]
81+
}
82+
],
83+
'String to_i' => [
84+
{
85+
benchmark_result_type: 'Ips',
86+
columns: [
87+
{
88+
name: 'bench_1',
89+
data: [c1.id, c4.id, c7.id]
90+
},
91+
{
92+
name: 'bench_2',
93+
data: [c1.id + 1, c4.id + 1, c7.id + 1]
94+
}
95+
],
96+
},
97+
{
98+
benchmark_result_type: 'Memory',
99+
columns: [
100+
{
101+
name: 'rss_kb',
102+
data: [c1.id, c4.id, c7.id]
103+
}
104+
]
105+
}
106+
]
107107
)
108108
end
109109
end

0 commit comments

Comments
 (0)