Sha256: 99010597e8b1488f4ea0dcc669d3d67bac75d57d7a1eb362936b5e5ed231715c
Contents?: true
Size: 494 Bytes
Versions: 1
Compression:
Stored size: 494 Bytes
Contents
require 'spec_helper' describe Bashcov::Lexer do describe "#irrelevant_lines" do [ ['simple.sh', [0, 1, 2, 3, 6, 8, 9, 11, 12]], ['function.sh', [0, 1, 2, 4, 5, 6, 9, 10, 13]], ['sourced.txt', [0, 1, 3]] ].each do |filename, lines| context "for #{filename}" do it "returns irrelevant lines" do lexer = Bashcov::Lexer.new File.join(scripts, filename) lexer.irrelevant_lines.should =~ lines end end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
bashcov-0.0.1 | spec/bashcov/lexer_spec.rb |