mirror of
https://github.com/esimov/caire.git
synced 2025-10-05 16:47:15 +08:00
Major update -> v1.5.0
This commit is contained in:
@@ -5,7 +5,7 @@ import (
|
||||
"image/color"
|
||||
"image/color/palette"
|
||||
"image/draw"
|
||||
"io/ioutil"
|
||||
"os"
|
||||
"path/filepath"
|
||||
"testing"
|
||||
|
||||
@@ -14,7 +14,7 @@ import (
|
||||
|
||||
func TestImage_ShouldGetSampleImage(t *testing.T) {
|
||||
path := filepath.Join("./testdata", "sample.jpg")
|
||||
_, err := ioutil.ReadFile(path)
|
||||
_, err := os.ReadFile(path)
|
||||
if err != nil {
|
||||
t.Errorf("Should get the sample image")
|
||||
}
|
||||
|
Reference in New Issue
Block a user