From 7c9926c3c79faaf82ca6238fb0f60a56b38cff10 Mon Sep 17 00:00:00 2001 From: Alex Dadgar Date: Fri, 23 Oct 2015 16:23:43 -0700 Subject: [PATCH] Format rkt_test --- client/driver/rkt_test.go | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/client/driver/rkt_test.go b/client/driver/rkt_test.go index e992266a4..53ea2a427 100644 --- a/client/driver/rkt_test.go +++ b/client/driver/rkt_test.go @@ -16,18 +16,18 @@ import ( ) func TestRktVersionRegex(t *testing.T) { - input_rkt := "rkt version 0.8.1" - input_appc := "appc version 1.2.0" - expected_rkt := "0.8.1" - expected_appc := "1.2.0" - rktMatches := reRktVersion.FindStringSubmatch(input_rkt) - appcMatches := reAppcVersion.FindStringSubmatch(input_appc) - if rktMatches[1] != expected_rkt { - fmt.Printf("Test failed; got %q; want %q\n", rktMatches[1], expected_rkt) - } - if appcMatches[1] != expected_appc { - fmt.Printf("Test failed; got %q; want %q\n", appcMatches[1], expected_appc) - } + input_rkt := "rkt version 0.8.1" + input_appc := "appc version 1.2.0" + expected_rkt := "0.8.1" + expected_appc := "1.2.0" + rktMatches := reRktVersion.FindStringSubmatch(input_rkt) + appcMatches := reAppcVersion.FindStringSubmatch(input_appc) + if rktMatches[1] != expected_rkt { + fmt.Printf("Test failed; got %q; want %q\n", rktMatches[1], expected_rkt) + } + if appcMatches[1] != expected_appc { + fmt.Printf("Test failed; got %q; want %q\n", appcMatches[1], expected_appc) + } } func TestRktDriver_Handle(t *testing.T) {