scheduled for the milestone 1.1
This commit is contained in:
parent
04d3105229
commit
695a59124f
|
@ -1,14 +0,0 @@
|
||||||
package realize
|
|
||||||
|
|
||||||
import (
|
|
||||||
"reflect"
|
|
||||||
"testing"
|
|
||||||
)
|
|
||||||
|
|
||||||
func TestInit(t *testing.T) {
|
|
||||||
actual := Init()
|
|
||||||
expected := &App{Name: AppName, Version: AppVersion, Description: AppDescription, Author: AppAuthor, Email: AppEmail}
|
|
||||||
if !reflect.DeepEqual(actual, expected) {
|
|
||||||
t.Errorf("Test failed, expected: '%s', got: '%s'", expected, actual)
|
|
||||||
}
|
|
||||||
}
|
|
Loading…
Reference in New Issue