Commit graph

13 commits

Author SHA1 Message Date
Richard Pickering
f131def079 Zero data range bar chart now returns custom error
Previously, in the case of no range between the data values,
`fmt.Errorf` was called (without format arguments), making the resulting
error difficult to compare by downstream users.  This has been replaced
with a custom error, and its test updated.

The `testutil` package does not appear to have a function allowing
assertion using `errors.Is` and therefore the `errors.Is` check is
performed in the test itself.
2021-03-13 20:08:10 +00:00
Will Charczuk
c1468e8ae4
Adds support for go mod (finally) (#164) 2020-11-22 16:45:10 -08:00
Will Charczuk
5f42a580a9 mostly working 2019-02-13 18:55:13 -08:00
David Mis
ac680bd82d Fixed order of arguments to assert.Len in test files. (#93)
* Fixed order of arguments to assert.Len in test files.

* Added BaseValue funtionality to bar chart
2018-09-05 08:45:19 -07:00
Will Charczuk
7c3982fe3d fixing tests 2018-04-05 00:47:39 -07:00
Will Charczuk
70e6cfddc5 fixing find and replace issue 2018-04-05 00:42:38 -07:00
Will Charczuk
df14434b6e changing assert 2018-04-05 00:36:12 -07:00
Will Charczuk
e4cd38f602 handle zero values 2017-01-13 14:37:08 -08:00
Will Charczuk
e4e2c846e3 hit coverage min, but not quite done yet. 2016-08-06 00:26:17 -07:00
Will Charczuk
22e4431c82 tests catching bugs. 2016-08-05 21:31:41 -07:00
Will Charczuk
129cbad0fa tests. 2016-08-05 21:25:56 -07:00
Will Charczuk
54f3bd4d3a coverage goal is 70% by the end of the night. 2016-08-05 20:44:40 -07:00
Will Charczuk
95d0bcca4b tests 2016-08-05 20:08:24 -07:00