summaryrefslogtreecommitdiff
path: root/src/pkg/exp/datafmt/datafmt_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'src/pkg/exp/datafmt/datafmt_test.go')
-rw-r--r--src/pkg/exp/datafmt/datafmt_test.go8
1 files changed, 2 insertions, 6 deletions
diff --git a/src/pkg/exp/datafmt/datafmt_test.go b/src/pkg/exp/datafmt/datafmt_test.go
index af4adfa9f..c43cca2b7 100644
--- a/src/pkg/exp/datafmt/datafmt_test.go
+++ b/src/pkg/exp/datafmt/datafmt_test.go
@@ -236,9 +236,7 @@ const F1 = `datafmt "datafmt";`
`int = "%d";`
`datafmt.T1 = "<" a ">";`
-func TestStruct1(t *testing.T) {
- check(t, F1, "<42>", T1{42});
-}
+func TestStruct1(t *testing.T) { check(t, F1, "<42>", T1{42}) }
// ----------------------------------------------------------------------------
@@ -354,9 +352,7 @@ func TestStructPoint(t *testing.T) {
const FSlice = `int = "%b";`
`array = { * / ", " }`
-func TestSlice(t *testing.T) {
- check(t, FSlice, "10, 11, 101, 111", []int{2, 3, 5, 7});
-}
+func TestSlice(t *testing.T) { check(t, FSlice, "10, 11, 101, 111", []int{2, 3, 5, 7}) }
// TODO add more tests