editor

package
v1.5.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 23, 2025 License: GPL-3.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Editor

type Editor struct {
	mock.Mock
}

Editor is an autogenerated mock type for the Editor type

func NewEditor

func NewEditor(t interface {
	mock.TestingT
	Cleanup(func())
}) *Editor

NewEditor creates a new instance of Editor. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*Editor) Edit

func (_m *Editor) Edit(filename string) error

Edit provides a mock function with given fields: filename

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL