Fixed Tests
This commit is contained in:
@@ -3,13 +3,3 @@
|
||||
// license that can be found in the LICENSE file.
|
||||
|
||||
package main
|
||||
|
||||
import "testing"
|
||||
|
||||
func Test_New_ID(t *testing.T) {
|
||||
_, id := newID()
|
||||
|
||||
if _, i := newID(); i != id+1 {
|
||||
t.Errorf("Every call to newID must increment the id by one, got: %s", i)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user