From d22fed67ad56964df3b50054d376a5a38345bb23 Mon Sep 17 00:00:00 2001 From: Darien Raymond Date: Wed, 2 Dec 2015 20:58:46 +0000 Subject: [PATCH] format code --- common/net/testing/assert/port.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/common/net/testing/assert/port.go b/common/net/testing/assert/port.go index 6c0e16e00..bb19011a7 100644 --- a/common/net/testing/assert/port.go +++ b/common/net/testing/assert/port.go @@ -43,7 +43,7 @@ func (subject *PortSubject) LessThan(expectation v2net.Port) { } func (subject *PortSubject) IsValid() { - if subject.value == 0 { - subject.Fail(subject.DisplayString(), "is", serial.StringLiteral("a valid port")) - } + if subject.value == 0 { + subject.Fail(subject.DisplayString(), "is", serial.StringLiteral("a valid port")) + } }