Skip to content

Commit 6f7a6e6

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

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
@@ -24,7 +24,7 @@ func TestDescribe_Default(t *testing.T) {
2424
if err == nil {
2525
t.Fatal("describing a nonexistent function should error")
2626
}
27-
if !strings.Contains(err.Error(), "function not found at this path and no name provided") {
27+
if !strings.Contains(err.Error(), "no function found in current directory") {
2828
t.Fatalf("Unexpected error text returned: %v", err)
2929
}
3030
if describer.DescribeInvoked {

0 commit comments

Comments
 (0)