Debian Codegraph @

debian/patches/skip-cap-test.patch

raw symbols SCIP
1 From: Nilesh Patra <[email protected]>
2 Date: Wed, 14 Aug 2024 19:27:20 +0800
3 Subject: cap can give different results across archs. Skipping test for now.
4
5 Forwarded: https://github.com/traefik/yaegi/issues/1575
6 Last-Update: 2023-07-01
7 ---
8 interp/interp_eval_test.go | 1 -
9 1 file changed, 1 deletion(-)
10
11 diff --git a/interp/interp_eval_test.go b/interp/interp_eval_test.go
12 index 87ced85..8aee496 100644
13 --- a/interp/interp_eval_test.go
14 +++ b/interp/interp_eval_test.go
15 @@ -151,7 +151,6 @@ func TestEvalBuiltin(t *testing.T) {
16 {src: `a1 := []int{0,1,2}; append(a1)`, res: "[0 1 2]"},
17 {src: `append(nil)`, err: "first argument to append must be slice; have nil"},
18 {src: `g := len(a)`, res: "1"},
19 - {src: `g := cap(a)`, res: "1"},
20 {src: `g := len("test")`, res: "4"},
21 {src: `g := len(map[string]string{"a": "b"})`, res: "1"},
22 {src: `n := len()`, err: "not enough arguments in call to len"},