Browse Source

format code

Darien Raymond 10 years ago
parent
commit
d22fed67ad
1 changed files with 3 additions and 3 deletions
  1. 3 3
      common/net/testing/assert/port.go

+ 3 - 3
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"))
+	}
 }