Skip to content

Commit

Permalink
⚙️ Add IsPro to test code.
Browse files Browse the repository at this point in the history
  • Loading branch information
Omochice committed Sep 28, 2021
1 parent 7cf8cea commit 6de355f
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions main_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ func TestLoadsettings(t *testing.T) {
AuthKey: "test",
SourceLang: "EN",
TargetLang: "JA",
IsPro: false,
}
actual, err = LoadSettings(setting, false)
if err != nil {
Expand All @@ -34,6 +35,7 @@ func TestLoadsettings(t *testing.T) {
AuthKey: "",
SourceLang: "EN",
TargetLang: "JA",
IsPro: false,
}
actual, err = LoadSettings(setting, false)
if err == nil {
Expand All @@ -48,6 +50,7 @@ func TestLoadsettings(t *testing.T) {
AuthKey: "test",
SourceLang: "EN",
TargetLang: "EN",
IsPro: false,
}
actual, err = LoadSettings(setting, false)
if err == nil {
Expand Down

0 comments on commit 6de355f

Please sign in to comment.