Added Link to badge, fix indentation.
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||

|
||||
[](http://goreportcard.com/report/dimiro1/ipe)
|
||||
|
||||
# IPÊ
|
||||
|
||||
@@ -137,7 +137,7 @@ Claudemiro Alves Feitosa Neto
|
||||
|
||||
# LICENSE
|
||||
|
||||
Copyright 2014, 2015 Claudemiro Alves Feitosa Neto. All rights reserved.
|
||||
Copyright 2014, 2015, 2016 Claudemiro Alves Feitosa Neto. All rights reserved.
|
||||
Use of this source code is governed by a MIT-style
|
||||
license that can be found in the LICENSE file.
|
||||
|
||||
|
||||
@@ -6,14 +6,14 @@ package ipe
|
||||
|
||||
import (
|
||||
"testing"
|
||||
|
||||
|
||||
"github.com/gorilla/websocket"
|
||||
)
|
||||
|
||||
func TestNewConnection(t *testing.T) {
|
||||
expectedSocketID := "socketID"
|
||||
expectedSocket := &websocket.Conn{}
|
||||
|
||||
|
||||
c := newConnection(expectedSocketID, expectedSocket)
|
||||
|
||||
if c.SocketID != expectedSocketID {
|
||||
|
||||
Reference in New Issue
Block a user