MCPcopy Create free account
hub / github.com/remotemobprogramming/mob / TestResetDeleteRemoteWipBranchCommit

Function TestResetDeleteRemoteWipBranchCommit

mob_test.go:445–457  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

443}
444
445func TestResetDeleteRemoteWipBranchCommit(t *testing.T) {
446 _, configuration := setup(t)
447 configuration.ResetDeleteRemoteWipBranch = true
448 start(configuration)
449 createFile(t, "example.txt", "contentIrrelevant")
450 next(configuration)
451 assertMobSessionBranches(t, configuration, "mob-session")
452
453 reset(configuration)
454
455 assertOnBranch(t, "master")
456 assertNoMobSessionBranches(t, configuration, "mob-session")
457}
458
459func TestResetCommitBranch(t *testing.T) {
460 output, configuration := setup(t)

Callers

nothing calls this directly

Calls 8

setupFunction · 0.85
startFunction · 0.85
createFileFunction · 0.85
nextFunction · 0.85
assertMobSessionBranchesFunction · 0.85
resetFunction · 0.85
assertOnBranchFunction · 0.85

Tested by

no test coverage detected