diff options
Diffstat (limited to 'rows_test.go')
-rw-r--r-- | rows_test.go | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/rows_test.go b/rows_test.go index 208b2de..22b038a 100644 --- a/rows_test.go +++ b/rows_test.go @@ -950,6 +950,10 @@ func TestNumberFormats(t *testing.T) { assert.NoError(t, f.Close()) } +func TestRoundPrecision(t *testing.T) { + assert.Equal(t, "text", roundPrecision("text", 0)) +} + func BenchmarkRows(b *testing.B) { f, _ := OpenFile(filepath.Join("test", "Book1.xlsx")) for i := 0; i < b.N; i++ { |