Skip to content

Commit b0f7bf6

Browse files
committed
Fix the failing test updated describe_test.go to include new description
Signed-off-by: RayyanSeliya <[email protected]>
1 parent 0a0731b commit b0f7bf6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cmd/describe_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ func TestDescribe_Default(t *testing.T) {
2323
if err == nil {
2424
t.Fatal("describing a nonexistent function should error")
2525
}
26-
if !strings.Contains(err.Error(), "function not found at this path and no name provided") {
26+
if !strings.Contains(err.Error(), "no function found in current directory") {
2727
t.Fatalf("Unexpected error text returned: %v", err)
2828
}
2929
if describer.DescribeInvoked {

0 commit comments

Comments
 (0)