优化结构
This commit is contained in:
@@ -8,3 +8,9 @@ func TestExportCellValuePreservesNumericText(t *testing.T) {
|
||||
t.Fatalf("exportCellValue() = %#v, want string 007", exportCellValue("007"))
|
||||
}
|
||||
}
|
||||
|
||||
func TestExportCellValuePreservesDriverBytes(t *testing.T) {
|
||||
if value, ok := exportCellValue([]byte("42")).(string); !ok || value != "42" {
|
||||
t.Fatalf("driver bytes = %#v", exportCellValue([]byte("42")))
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user