leverage serial.String in assert

This commit is contained in:
Darien Raymond committed 2015-12-02 15:41:19 +00:00
1 parent 7960b97c8e
commit 3c12469ae5
11 files changed
+38 -34

No files matched your search

+1 -1
View File
@@ -72,7 +72,7 @@ func TestTCPConnection(t *testing.T) {
actualResponse := make([]byte, 1024)
nBytes, err = conn.Read(actualResponse)
assert.Error(err).IsNil()
assert.String(string(actualResponse[:nBytes])).Equals("Processed: Request to target server.Request to target server again.")
assert.StringLiteral(string(actualResponse[:nBytes])).Equals("Processed: Request to target server.Request to target server again.")
conn.Close()
}