Browse Source

tests: make double-newline more explicit (go vet)

Fixes #5
speter 7 years ago
parent
commit
d2d2541c53
1 changed files with 2 additions and 1 deletions
  1. 2 1
      rounder_example_test.go

+ 2 - 1
rounder_example_test.go

@@ -31,7 +31,8 @@ func ExampleRounder() {
 		{"RoundHalfEven", inf.RoundHalfEven}, {"RoundExact", inf.RoundExact},
 	}
 
-	fmt.Println("The results of new(inf.Dec).Round(x, s, inf.RoundXXX):\n")
+	fmt.Println("The results of new(inf.Dec).Round(x, s, inf.RoundXXX):")
+	fmt.Println()
 	w := tabwriter.NewWriter(os.Stdout, 0, 0, 1, ' ', tabwriter.AlignRight)
 	fmt.Fprint(w, "x\ts\t|\t")
 	for _, r := range rounders {