Skip to content

Commit 61772bf

Browse files
committed
Fix a test case in expr.TestExample
1 parent 6daa218 commit 61772bf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

expr/example_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ func TestExample(t *testing.T) {
6363
{"overriding-example", testdata.OverridingExampleDSL, map[string]any{"name": "overridden"}, ""},
6464
{"with-extend", testdata.WithExtendExampleDSL, map[string]any{"name": "example"}, ""},
6565
{"invalid-example-type", testdata.InvalidExampleTypeDSL, nil, "example value map[int]int{1:1} is incompatible with attribute of type map in attribute"},
66-
{"empty-example", testdata.EmptyExampleDSL, nil, "not enough arguments in attribute"},
66+
{"empty-example", testdata.EmptyExampleDSL, nil, "too few arguments given to Example in attribute"},
6767
{"hiding-example", testdata.HidingExampleDSL, nil, ""},
6868
{"overriding-hidden-examples", testdata.OverridingHiddenExamplesDSL, "example", ""},
6969
}

0 commit comments

Comments
 (0)