From c793f401f5bf7e33235fb51b5d58a694d2a08148 Mon Sep 17 00:00:00 2001 From: Miek Gieben Date: Sun, 28 Feb 2016 08:33:08 +0000 Subject: [PATCH] TestPreReqAndRemovals should become Example Add comment in the test function that this should be reworked once #323 is fixed. --- update_test.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/update_test.go b/update_test.go index 3377aa90..175c73b1 100644 --- a/update_test.go +++ b/update_test.go @@ -115,6 +115,9 @@ func TestPreReqAndRemovals(t *testing.T) { m.Remove([]RR{rr_remove3}) m.Insert([]RR{rr_insert}) + // This test function isn't a Example function because we print these RR with tabs at the + // end and the Example function trim these, thus they never match. + // TODO(miek): don't print these tabs and make this into an Example function. expect := `;; opcode: UPDATE, status: NOERROR, id: 1234 ;; flags:; QUERY: 1, ANSWER: 5, AUTHORITY: 4, ADDITIONAL: 0