- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for TestLineNumber (0.14 sec)
-
pilot/pkg/config/file/util/kubeyaml/kubeyaml_test.go
t.Run(fmt.Sprintf("%d", i), func(t *testing.T) { g := NewWithT(t) actual := JoinString(c.split...) g.Expect(actual).To(Equal(c.merged)) }) } } func TestLineNumber(t *testing.T) { testCases := []struct { input string lineNumbers []int }{ { input: "foo: bar\n---\nfoo: baz", lineNumbers: []int{1, 3}, }, {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue Oct 31 14:48:28 UTC 2023 - 2.5K bytes - Viewed (0) -
src/runtime/symtab_test.go
lineNumber()) // 40 } // Modifications below this line are okay. var l38, l39, l40 int func recordLines(a, b, c int) { l38 = a l39 = b l40 = c } func TestLineNumber(t *testing.T) { trythis() for _, test := range []struct { name string val int want int }{ {"firstLine", firstLine, 0}, {"lineVar1", lineVar1, 2}, {"lineVar2a", lineVar2a, 3},
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 17 21:46:33 UTC 2022 - 7.5K bytes - Viewed (0)