carlos / platform Public

Clone
git clone https://amadan.net/carlos/platform

Plain git — no account needed to clone.

Download

Download this file

1package fixture
2
3// Not compiled: testdata is ignored by the go tool.
4
5import "strings"
6
7// MV-N1: the target list, joined with the wrong separator.
8func differs(names []string) string {
9 return "the environment differs from the source's: " + strings.Join(names, " and ")
10}
11
12// MV-N2: an unrelated list in the same file, joined correctly.
13func answered(boxes []string) string {
14 return "the boxes that answered: " + strings.Join(boxes, ", ")
15}
16