Ignore ace mode warning while testing

This commit is contained in:
Joshua Peek
2016-09-23 13:53:38 -07:00
parent 152b5ade5e
commit 39ea9be5f8
4 changed files with 14 additions and 11 deletions

View File

@@ -3,14 +3,6 @@ require_relative "./helper"
class TestBlob < Minitest::Test
include Linguist
def silence_warnings
original_verbosity = $VERBOSE
$VERBOSE = nil
yield
ensure
$VERBOSE = original_verbosity
end
def setup
silence_warnings do
# git blobs are normally loaded as ASCII-8BIT since they may contain data