From 07c6d4b0ec3cddb536dcb430bb8d130cefb97e62 Mon Sep 17 00:00:00 2001 From: Roland Illig Date: Thu, 24 Nov 2022 19:13:41 +0100 Subject: [PATCH] Release 1.0.3 Changes since 1.0.2: Instrument parenthesized expressions, channel receive expressions, composite literals, type switch statements. Add newline after printing a line to stderr. --- main.go | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/main.go b/main.go index 5da6f68..33bdd52 100644 --- a/main.go +++ b/main.go @@ -13,7 +13,7 @@ import ( "strings" ) -const version = "1.0.3-snapshot" +const version = "1.0.3" var exit = os.Exit @@ -247,17 +247,17 @@ func (g *gobco) prepareTmp() { } func (g *gobco) instrument() { - in :=instrumenter{ - g.coverTest, - g.immediately, - g.listAll, - nil, - nil, - false, - map[ast.Node]bool{}, - "", - 0, - } + in := instrumenter{ + g.coverTest, + g.immediately, + g.listAll, + nil, + nil, + false, + map[ast.Node]bool{}, + "", + 0, + } for _, arg := range g.args { instrDst := g.file(arg.instrDir)