diff options
| author | Ri Xu <xuri.me@gmail.com> | 2018-01-05 09:39:31 +0800 |
|---|---|---|
| committer | Ri Xu <xuri.me@gmail.com> | 2018-01-05 09:39:31 +0800 |
| commit | 52b1a8e8963e9acfbabf76971656c0141b45ea9f (patch) | |
| tree | e0e392dca30f79813b9f4ccb1dd1a4080ff0d438 /excelize_test.go | |
| parent | e13ccce89a786683b9871d6d0f9cc5b52ff1a406 (diff) | |
- Function `SetCellValue()` time.Duration support added, relate issue #176;
- go test updated
Diffstat (limited to 'excelize_test.go')
| -rw-r--r-- | excelize_test.go | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/excelize_test.go b/excelize_test.go index 3e5665f..34dac8d 100644 --- a/excelize_test.go +++ b/excelize_test.go @@ -83,6 +83,8 @@ func TestOpenFile(t *testing.T) { xlsx.SetCellValue("Sheet2", "F16", true) xlsx.SetCellValue("Sheet2", "G2", nil) xlsx.SetCellValue("Sheet2", "G4", time.Now()) + // 02:46:40 + xlsx.SetCellValue("Sheet2", "G5", time.Duration(1e13)) // Test completion column. xlsx.SetCellValue("Sheet2", "M2", nil) // Test read cell value with given axis large than exists row. |
