From a1fa21cbecebb0456ecfb6d2756a41ba903bb1f0 Mon Sep 17 00:00:00 2001 From: Edvard Date: Thu, 31 Jan 2019 16:39:29 +0100 Subject: [PATCH] Remove test based on window buffer stuff --- pkg/history/validation_window_test.go | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/pkg/history/validation_window_test.go b/pkg/history/validation_window_test.go index 354af33e..246d9168 100644 --- a/pkg/history/validation_window_test.go +++ b/pkg/history/validation_window_test.go @@ -1,8 +1,6 @@ package history_test import ( - "bytes" - . "github.com/onsi/ginkgo" . "github.com/onsi/gomega" @@ -34,15 +32,4 @@ var _ = Describe("Validation window", func() { Expect(numberOfBlocksCreated).To(Equal(expected)) }) - - It("logs window message", func() { - expectedMessage := &bytes.Buffer{} - window := history.ValidationWindow{LowerBound: 5, UpperBound: 7} - history.ParsedWindowTemplate.Execute(expectedMessage, window) - actualMessage := &bytes.Buffer{} - - window.Log(actualMessage) - - Expect(actualMessage).To(Equal(expectedMessage)) - }) })