Sha256: 202f196f2d2c7759ecba8dc0dff1fabed675cdb0e1bf9ade9b09847560a4852a
Contents?: true
Size: 363 Bytes
Versions: 47
Compression:
Stored size: 363 Bytes
Contents
require File.expand_path("../../../base", __FILE__) require "vagrant/util/ansi_escape_code_remover" describe Vagrant::Util::ANSIEscapeCodeRemover do let(:klass) do Class.new do extend Vagrant::Util::ANSIEscapeCodeRemover end end it "should remove ANSI escape codes" do klass.remove_ansi_escape_codes("\e[Hyo").should == "yo" end end
Version data entries
47 entries across 47 versions & 11 rubygems