Side by Side Diff: test/fixedbugs/bug308.go
Issue 5656083 :
code review 5656083: test: use testlib (third 100) (Closed)
Patch Set: diff -r 8ff8ddde157e https://code.google.com/p/go/
Use n/p to move between diff chunks;
N/P to move between comments.
Please Sign in to add in-line comments.
Jump to:
test/fixedbugs/bug235.go
test/fixedbugs/bug236.go
test/fixedbugs/bug237.go
test/fixedbugs/bug238.go
test/fixedbugs/bug240.go
test/fixedbugs/bug241.go
test/fixedbugs/bug243.go
test/fixedbugs/bug244.go
test/fixedbugs/bug249.go
test/fixedbugs/bug251.go
test/fixedbugs/bug252.go
test/fixedbugs/bug255.go
test/fixedbugs/bug256.go
test/fixedbugs/bug258.go
test/fixedbugs/bug259.go
test/fixedbugs/bug261.go
test/fixedbugs/bug262.go
test/fixedbugs/bug263.go
test/fixedbugs/bug269.go
test/fixedbugs/bug271.go
test/fixedbugs/bug272.go
test/fixedbugs/bug273.go
test/fixedbugs/bug274.go
test/fixedbugs/bug278.go
test/fixedbugs/bug279.go
test/fixedbugs/bug280.go
test/fixedbugs/bug281.go
test/fixedbugs/bug284.go
test/fixedbugs/bug287.go
test/fixedbugs/bug288.go
test/fixedbugs/bug289.go
test/fixedbugs/bug290.go
test/fixedbugs/bug291.go
test/fixedbugs/bug292.go
test/fixedbugs/bug293.go
test/fixedbugs/bug294.go
test/fixedbugs/bug295.go
test/fixedbugs/bug296.go
test/fixedbugs/bug297.go
test/fixedbugs/bug298.go
test/fixedbugs/bug299.go
test/fixedbugs/bug300.go
test/fixedbugs/bug303.go
test/fixedbugs/bug304.go
test/fixedbugs/bug305.go
test/fixedbugs/bug307.go
test/fixedbugs/bug308.go
test/fixedbugs/bug309.go
test/fixedbugs/bug311.go
test/fixedbugs/bug312.go
test/fixedbugs/bug318.go
test/fixedbugs/bug319.go
test/fixedbugs/bug320.go
test/fixedbugs/bug323.go
test/fixedbugs/bug325.go
test/fixedbugs/bug326.go
test/fixedbugs/bug327.go
test/fixedbugs/bug329.go
test/fixedbugs/bug330.go
test/fixedbugs/bug332.go
test/fixedbugs/bug333.go
test/fixedbugs/bug336.go
test/fixedbugs/bug337.go
test/fixedbugs/bug338.go
test/fixedbugs/bug339.go
test/fixedbugs/bug340.go
test/fixedbugs/bug342.go
test/fixedbugs/bug344.go
test/fixedbugs/bug347.go
test/fixedbugs/bug348.go
test/fixedbugs/bug349.go
test/fixedbugs/bug350.go
test/fixedbugs/bug351.go
test/fixedbugs/bug353.go
test/fixedbugs/bug355.go
test/fixedbugs/bug357.go
test/fixedbugs/bug358.go
test/fixedbugs/bug362.go
test/fixedbugs/bug363.go
test/fixedbugs/bug364.go
test/fixedbugs/bug365.go
test/fixedbugs/bug366.go
test/fixedbugs/bug368.go
test/fixedbugs/bug369.go
test/fixedbugs/bug370.go
test/fixedbugs/bug371.go
test/fixedbugs/bug373.go
test/fixedbugs/bug374.go
test/fixedbugs/bug376.go
test/fixedbugs/bug379.go
test/fixedbugs/bug380.go
test/fixedbugs/bug381.go
test/fixedbugs/bug383.go
test/fixedbugs/bug384.go
test/fixedbugs/bug386.go
test/fixedbugs/bug388.go
test/fixedbugs/bug389.go
test/fixedbugs/bug390.go
test/fixedbugs/bug394.go
OLD NEW
1 // $G $D/$F.go 1 // compile
2 2
3 // Copyright 2010 The Go Authors. All rights reserved. 3 // Copyright 2010 The Go Authors. All rights reserved.
4 // Use of this source code is governed by a BSD-style 4 // Use of this source code is governed by a BSD-style
5 // license that can be found in the LICENSE file. 5 // license that can be found in the LICENSE file.
6 6
7 // issue 1136 7 // issue 1136
8 8
9 package main 9 package main
10 10
11 import "fmt" 11 import "fmt"
12 12
13 func log1(f string, argv ...interface{}) { 13 func log1(f string, argv ...interface{}) {
14 fmt.Printf("log: %s\n", fmt.Sprintf(f, argv...)) 14 fmt.Printf("log: %s\n", fmt.Sprintf(f, argv...))
15 } 15 }
16 16
17 func main() { 17 func main() {
18 log1("%d", 42) 18 log1("%d", 42)
19 } 19 }
OLD NEW