0
1
mirror of https://github.com/golang/go synced 2025-05-05 03:21:36 +00:00

test: convert tests to run.go whenever possible.

The other tests either need a complex procedure
or are architecture- or OS-dependent.

Update .

R=golang-dev, daniel.morsing, iant
CC=golang-dev
https://golang.org/cl/6618062
This commit is contained in:
Rémy Oudompheng
2012-10-10 22:35:27 +02:00
parent c12dab2aa6
commit dda1b560ec
15 changed files with 143 additions and 133 deletions

@ -1,18 +1,9 @@
// skip
// rundir
// Copyright 2010 The Go Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
// This file is compiled and then imported by ddd3.go.
package ddd
func Sum(args ...int) int {
s := 0
for _, v := range args {
s += v
}
return s
}
// Test that variadic functions work across package boundaries.
package ignored