Skip to content

Commit

Permalink
[fix] (#21)
Browse files Browse the repository at this point in the history
  • Loading branch information
ningenMe authored Jul 23, 2021
1 parent 9766793 commit 47c7bc8
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ If you release new version, please update `version` variable in pkg/version/serv

## Changed

### v0.3.0
- convert neovenetia into neovenezia
### v0.2.0
- add `version` subcommand
### v0.1.0
Expand Down
2 changes: 1 addition & 1 deletion pkg/version/service.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import (

// if you update version, please update CHANGELOG too.
func getVersion() string {
return "v0.2.0"
return "v0.3.0"
}

func Exec() {
Expand Down
4 changes: 2 additions & 2 deletions pkg/version/service_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,12 @@ import (
func TestGetVersion(t *testing.T) {
t.Run("", func(t *testing.T) {
actual := getVersion()
expect := "v0.2.0"
expect := "v0.3.0"
assert.Equal(t,actual,expect)
})
}

func ExampleExec() {
Exec()
// Output: Neovenezia v0.2.0
// Output: Neovenezia v0.3.0
}

0 comments on commit 47c7bc8

Please sign in to comment.