Skip to content

Commit 1cc4525

Browse files
committed
fix: adapt test to error changes
Signed-off-by: Ettore Di Giacinto <mudler@localai.io>
1 parent 45c5875 commit 1cc4525

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/utils/base64_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ var _ = Describe("utils/base64 tests", func() {
2626
b64, err := GetContentURIAsBase64(input)
2727
Expect(b64).To(Equal(""))
2828
Expect(err).ToNot(BeNil())
29-
Expect(err).To(MatchError("not valid string"))
29+
Expect(err).To(MatchError("not valid base64 data type string"))
3030
})
3131
It("GetImageURLAsBase64 can actually download images and calculates something", func() {
3232
// This test doesn't actually _check_ the results at this time, which is bad, but there wasn't a test at all before...

0 commit comments

Comments
 (0)