MCPcopy
hub / github.com/ddworken/hishtory / updateToHead

Function updateToHead

client/integration_test.go:573–577  ·  view source on GitHub ↗
(t *testing.T, tester shellTester)

Source from the content-addressed store, hash-verified

571}
572
573func updateToHead(t *testing.T, tester shellTester) string {
574 out := tester.RunInteractiveShell(t, " /tmp/client install\necho postupdate")
575 require.Equal(t, "postupdate\n", out)
576 return "v0.Unknown"
577}
578
579func testUpdateFromHeadToRelease(t *testing.T, tester shellTester) {
580 testGenericUpdate(t, tester, installFromHead, updateToRelease)

Callers

nothing calls this directly

Calls 1

RunInteractiveShellMethod · 0.65

Tested by

no test coverage detected