diff --git a/vimebu.go b/vimebu.go index 39a906f..60e0311 100644 --- a/vimebu.go +++ b/vimebu.go @@ -216,9 +216,3 @@ func (b *Builder) String() string { b.underlying.WriteByte(rightBracketByte) return b.underlying.String() } - -// Reset resets the Builder to be empty. -func (b *Builder) Reset() { - b.flName, b.flLabel = false, false - putBuffer(b.underlying) -} diff --git a/vimebu_test.go b/vimebu_test.go index bece070..4563552 100644 --- a/vimebu_test.go +++ b/vimebu_test.go @@ -207,12 +207,6 @@ func handleTestCase(t *testing.T, tc testCase) { result := b.String() require.Equal(t, tc.expected, result) - - t.Run("reset", func(t *testing.T) { - b.Reset() - require.False(t, b.flName) - require.False(t, b.flLabel) - }) } func TestBuilder(t *testing.T) {