TestSpec_PublicAPI_GetVersion validates that GetVersion returns a non-empty string. Spec: "Returns the current CLI version"
(t *testing.T)
| 69 | // TestSpec_PublicAPI_GetVersion validates that GetVersion returns a non-empty string. |
| 70 | // Spec: "Returns the current CLI version" |
| 71 | func TestSpec_PublicAPI_GetVersion(t *testing.T) { |
| 72 | version := cli.GetVersion() |
| 73 | assert.NotEmpty(t, version, "GetVersion should return a non-empty version string") |
| 74 | } |
| 75 | |
| 76 | // TestSpec_PublicAPI_SetVersionInfo validates that SetVersionInfo stores the version returned by GetVersion. |
| 77 | // Spec: "Sets the version at startup" |
nothing calls this directly
no test coverage detected