We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 8d3a873 + fe2e8af commit c49c127Copy full SHA for c49c127
spark
@@ -5,7 +5,7 @@
5
#
6
# Generates sparklines for a set of data.
7
8
-# Here's a a good web-based sparkline generator that was a bit of inspiration
+# Here's a good web-based sparkline generator that was a bit of inspiration
9
# for spark:
10
11
# https://datacollective.org/sparkblocks
spark-test.sh
@@ -61,13 +61,18 @@ it_charts_4_lt_8() {
61
graph="$($spark $data)"
62
63
test $graph = '▁▃█'
64
-
65
}
66
67
it_charts_no_tier_0() {
68
data="1,2,3,4,5"
69
70
71
test $graph = '▁▂▄▆█'
+}
72
+
73
+it_equalizes_at_midtier_on_same_data() {
74
+ data="1,1,1,1"
75
+ graph="$($spark $data)"
76
77
+ test $graph = '▅▅▅▅'
78
0 commit comments