(t *testing.T)
| 18 | } |
| 19 | |
| 20 | func TestSetVersionInfoUpdatesWorkflowVersion(t *testing.T) { |
| 21 | originalVersion := workflow.GetVersion() |
| 22 | defer workflow.SetVersion(originalVersion) |
| 23 | |
| 24 | SetVersionInfo("set-version-info") |
| 25 | assert.Equal(t, "set-version-info", workflow.GetVersion(), "SetVersionInfo should set workflow version") |
| 26 | assert.Equal(t, "set-version-info", GetVersion(), "cli.GetVersion should return workflow version") |
| 27 | } |
nothing calls this directly
no test coverage detected