File tree Expand file tree Collapse file tree 3 files changed +5
-5
lines changed Expand file tree Collapse file tree 3 files changed +5
-5
lines changed Original file line number Diff line number Diff line change 22*
33MIT License
44
5- Copyright (c) 2023 API Testing Authors.
5+ Copyright (c) 2023-2024 API Testing Authors.
66
77Permission is hereby granted, free of charge, to any person obtaining a copy
88of this software and associated documentation files (the "Software"), to deal
@@ -53,6 +53,6 @@ func TestRootCommand(t *testing.T) {
5353
5454 c .SetArgs ([]string {"--port" , "0" })
5555 err := c .Execute ()
56- assert .NoError (t , err )
56+ assert .Error (t , err )
5757 })
5858}
Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ go 1.22.2
55toolchain go1.22.4
66
77require (
8- github.com/linuxsuren/api-testing v0.0.18-0.20240710135821-b23459a5c286
8+ github.com/linuxsuren/api-testing v0.0.18-0.20240712013124-33c89be15c83
99 github.com/spf13/cobra v1.8.0
1010 github.com/stretchr/testify v1.9.0
1111 gorm.io/driver/mysql v1.5.2
Original file line number Diff line number Diff line change @@ -96,8 +96,8 @@ github.com/kr/pty v1.1.1/go.mod h1:pFQYn66WHrOpPYNljwOMqo10TkYh1fy3cYio2l3bCsQ=
9696github.com/kr/text v0.1.0 /go.mod h1:4Jbv+DJW3UT/LiOwJeYQe1efqtUx/iVham/4vfdArNI =
9797github.com/kr/text v0.2.0 h1:5Nx0Ya0ZqY2ygV366QzturHI13Jq95ApcVaJBhpS+AY =
9898github.com/kr/text v0.2.0 /go.mod h1:eLer722TekiGuMkidMxC/pM04lWEeraHUUmBw8l2grE =
99- github.com/linuxsuren/api-testing v0.0.18-0.20240710135821-b23459a5c286 h1:K0InsL+ZzZx1+dJU5HAtvtxUmB9XVk1ZiR0iG2nwZJY =
100- github.com/linuxsuren/api-testing v0.0.18-0.20240710135821-b23459a5c286 /go.mod h1:8G3GZtQmSUHyqA/gZlSdFaDIveHQYbFInTibD7g3hMs =
99+ github.com/linuxsuren/api-testing v0.0.18-0.20240712013124-33c89be15c83 h1:NUGWAWp6fMc9qFERsP0TdJE6lTItEDI6F6v7tDkHNx8 =
100+ github.com/linuxsuren/api-testing v0.0.18-0.20240712013124-33c89be15c83 /go.mod h1:8G3GZtQmSUHyqA/gZlSdFaDIveHQYbFInTibD7g3hMs =
101101github.com/linuxsuren/go-fake-runtime v0.0.4 h1:y+tvBuw6MKTCav8Bo5HWwaXhBx1Z//VAvqI3gpOWqvw =
102102github.com/linuxsuren/go-fake-runtime v0.0.4 /go.mod h1:zmh6J78hSnWZo68faMA2eKOdaEp8eFbERHi3ZB9xHCQ =
103103github.com/linuxsuren/unstructured v0.0.1 h1:ilUA8MUYbR6l9ebo/YPV2bKqlf62bzQursDSE+j00iU =
You can’t perform that action at this time.
0 commit comments