diff --git a/build_test.go b/build_test.go index 6814f2f..bbbf773 100644 --- a/build_test.go +++ b/build_test.go @@ -145,7 +145,7 @@ func TestWriteExcel(t *testing.T) { } models = make([]SheetModel, 0) models = append(models, sheet6) - assert.NoErrorf(t, err, "") + require.NoErrorf(t, err, "") err = WriteExcelSaveAs("test5.xlsx", models) require.EqualError(t, err, "unsupported type map")