mirror of
https://github.com/jesseduffield/lazygit.git
synced 2025-06-15 00:15:32 +02:00
remove broken test
This commit is contained in:
@ -56,20 +56,6 @@ func (self *fakeGuiDriver) View(viewName string) *gocui.View {
|
|||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
|
|
||||||
func TestAssertionFailure(t *testing.T) {
|
|
||||||
test := NewIntegrationTest(NewIntegrationTestArgs{
|
|
||||||
Description: unitTestDescription,
|
|
||||||
Run: func(t *TestDriver, keys config.KeybindingConfig) {
|
|
||||||
t.press("a")
|
|
||||||
t.press("b")
|
|
||||||
},
|
|
||||||
})
|
|
||||||
driver := &fakeGuiDriver{}
|
|
||||||
test.Run(driver)
|
|
||||||
assert.EqualValues(t, []string{"a", "b"}, driver.pressedKeys)
|
|
||||||
assert.Equal(t, "Expected 2 commits present, but got 0", driver.failureMessage)
|
|
||||||
}
|
|
||||||
|
|
||||||
func TestManualFailure(t *testing.T) {
|
func TestManualFailure(t *testing.T) {
|
||||||
test := NewIntegrationTest(NewIntegrationTestArgs{
|
test := NewIntegrationTest(NewIntegrationTestArgs{
|
||||||
Description: unitTestDescription,
|
Description: unitTestDescription,
|
||||||
|
Reference in New Issue
Block a user