src.elv.sh@v0.21.0-dev.0.20240515223629-06979efb9a2a/pkg/eval/vals/aliased_types_test.go (about) 1 package vals 2 3 import ( 4 "testing" 5 6 "src.elv.sh/pkg/testutil" 7 "src.elv.sh/pkg/tt" 8 ) 9 10 var Args = tt.Args 11 12 func TestMakeMap_PanicsWithOddNumberOfArguments(t *testing.T) { 13 tt.Test(t, testutil.Recover, 14 //lint:ignore SA5012 testing panic 15 Args(func() { MakeMap("foo") }).Rets("odd number of arguments to MakeMap"), 16 ) 17 }