瀏覽代碼

format code

Darien Raymond 10 年之前
父節點
當前提交
d22fed67ad
共有 1 個文件被更改,包括 3 次插入3 次删除
  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"))
+	}
 }