Skip to content

Commit

Permalink
优化
Browse files Browse the repository at this point in the history
  • Loading branch information
monigo committed Nov 16, 2019
1 parent bc61e1c commit 770c8a9
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions core/core_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,11 @@ package core

import (
"fmt"
"github.com/monigo/srun/model"
"github.com/monigo/srun/store"
"reflect"
"testing"
)

func TestLogin(t *testing.T) {
acc, err := store.LoadAccount()
fmt.Println(Login())
acc, _ := store.LoadAccount()
fmt.Println(Login(acc.Username, acc.Password))
}

0 comments on commit 770c8a9

Please sign in to comment.