summaryrefslogtreecommitdiff
path: root/cell_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'cell_test.go')
-rw-r--r--cell_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/cell_test.go b/cell_test.go
index 1efbc5a..60f8751 100644
--- a/cell_test.go
+++ b/cell_test.go
@@ -110,7 +110,7 @@ func ExampleFile_SetCellFloat() {
f := NewFile()
var x = 3.14159265
if err := f.SetCellFloat("Sheet1", "A1", x, 2, 64); err != nil {
- fmt.Println(err)
+ println(err.Error())
}
val, _ := f.GetCellValue("Sheet1", "A1")
fmt.Println(val)