1// Copyright 2015 Keybase, Inc. All rights reserved. Use of 2// this source code is governed by the included BSD license. 3 4package libkb 5 6import ( 7 "testing" 8 9 "github.com/stretchr/testify/require" 10) 11 12func TestDiscardAndCloseBody(t *testing.T) { 13 err := DiscardAndCloseBody(nil) 14 require.Error(t, err) 15} 16