Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
xflags
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Jira
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Container registry
Monitor
Service Desk
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
OSS
Libraries
Go
Application
xflags
Compare revisions
v1.3.0 to v1.3.1
Compare revisions
Changes are shown as if the
source
revision was being merged into the
target
revision.
Learn more about comparing revisions.
Source
oss/libraries/go/application/xflags
Select target project
No results found
v1.3.1
Select Git revision
Branches
master
Tags
v1.0.0
v1.1.0
v1.1.1
v1.10.0
v1.10.1
v1.10.2
v1.11.0
v1.12.0
v1.13.0
v1.13.1
v1.13.2
v1.14.0
v1.15.0
v1.16.0
v1.16.1
v1.16.2
v1.16.3
v1.16.4
v1.16.5
v1.2.0
v1.2.1
v1.2.2
v1.2.3
v1.3.0
v1.3.1
v1.4.0
v1.5.0
v1.6.0
v1.7.0
v1.8.0
v1.8.1
v1.8.2
v1.8.3
v1.9.0
35 results
Swap
Target
oss/libraries/go/application/xflags
Select target project
oss/libraries/go/application/xflags
1 result
v1.3.0
Select Git revision
Branches
master
Tags
v1.0.0
v1.1.0
v1.1.1
v1.10.0
v1.10.1
v1.10.2
v1.11.0
v1.12.0
v1.13.0
v1.13.1
v1.13.2
v1.14.0
v1.15.0
v1.16.0
v1.16.1
v1.16.2
v1.16.3
v1.16.4
v1.16.5
v1.2.0
v1.2.1
v1.2.2
v1.2.3
v1.3.0
v1.3.1
v1.4.0
v1.5.0
v1.6.0
v1.7.0
v1.8.0
v1.8.1
v1.8.2
v1.8.3
v1.9.0
35 results
Show changes
Only incoming changes from source
Include changes to target since source was created
Compare
Commits on Source (3)
fix remove one test renmant
· 6106c15e
Volker Schukai
authored
2 years ago
Verified
6106c15e
Bump version to 1.3.1
· adb17331
Volker Schukai
authored
2 years ago
Verified
adb17331
Update changelog
· a751c108
Volker Schukai
authored
2 years ago
Verified
a751c108
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
CHANGELOG.md
+7
-0
7 additions, 0 deletions
CHANGELOG.md
api_test.go
+16
-16
16 additions, 16 deletions
api_test.go
release.json
+1
-1
1 addition, 1 deletion
release.json
with
24 additions
and
17 deletions
CHANGELOG.md
View file @
a751c108
<a
name=
"v1.3.1"
></a>
## [v1.3.1] - 2022-10-08
### Bug Fixes
-
fix remove one test renmant
<a
name=
"v1.3.0"
></a>
## [v1.3.0] - 2022-10-08
### Code Refactoring
...
...
@@ -46,6 +52,7 @@
<a
name=
"v1.0.0"
></a>
## v1.0.0 - 2022-10-04
[
v1.3.1
]:
https://gitlab.schukai.com/oss/libraries/go/application/xflags/compare/v1.3.0...v1.3.1
[
v1.3.0
]:
https://gitlab.schukai.com/oss/libraries/go/application/xflags/compare/v1.2.3...v1.3.0
[
v1.2.3
]:
https://gitlab.schukai.com/oss/libraries/go/application/xflags/compare/v1.2.2...v1.2.3
[
v1.2.2
]:
https://gitlab.schukai.com/oss/libraries/go/application/xflags/compare/v1.2.1...v1.2.2
...
...
This diff is collapsed.
Click to expand it.
api_test.go
View file @
a751c108
...
...
@@ -8,22 +8,22 @@ import (
"testing"
)
func
TestUsage
(
t
*
testing
.
T
)
{
commands
:=
New
(
"root"
,
CmdTest1
{})
args
:=
[]
string
{
"-h"
}
commands
.
Parse
(
args
)
assert
.
False
(
t
,
commands
.
HasErrors
())
if
commands
.
HasErrors
()
{
t
.
Log
(
commands
.
Errors
())
}
usage
:=
commands
.
Usage
()
assert
.
NotEmpty
(
t
,
usage
)
}
//
func TestUsage(t *testing.T) {
//
//
commands := New("root", CmdTest1{})
//
args := []string{"-h"}
//
//
commands.Parse(args)
//
//
assert.False(t, commands.HasErrors())
//
if commands.HasErrors() {
//
t.Log(commands.Errors())
//
}
//
//
usage := commands.Usage()
//
assert.NotEmpty(t, usage)
//
//
}
func
TestNewIntWithError
(
t
*
testing
.
T
)
{
...
...
This diff is collapsed.
Click to expand it.
release.json
View file @
a751c108
{
"version"
:
"1.3.
0
"
}
{
"version"
:
"1.3.
1
"
}
This diff is collapsed.
Click to expand it.