From 8dbfde100c9281f2f738c216721d2151061673bc Mon Sep 17 00:00:00 2001 From: Robert Liebowitz Date: Mon, 8 Jan 2024 20:57:56 -0500 Subject: [PATCH] Fix be.SliceLen example in README --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index a0a4297..5ed230f 100644 --- a/README.md +++ b/README.md @@ -63,7 +63,7 @@ The function also returns a boolean indicating whether the check was successful, allowing you to safely chain assertion logic: ```go -if g.Should(be.Len(mySlice, 1)) { +if g.Should(be.SliceLen(mySlice, 1)) { g.Should(be.Equal(mySlice[0], "foo")) } ```