travis-ci
13 of 13 new or added lines in 4 files covered. (100.0%)
2165 of 3323 relevant lines covered (65.15%)
2756.73 hits per line
1 |
# coding: utf-8
|
|
2 |
|
|
3 |
module Transpec |
12 all except jruby-9.1.15.0, RSPEC_VERSION=2.14 and jruby-9.1.15.0, RSPEC_VERSION=2.99 ✔ |
4 |
module Annotatable |
12 all except jruby-9.1.15.0, RSPEC_VERSION=2.14 and jruby-9.1.15.0, RSPEC_VERSION=2.99 ✔ |
5 |
attr_reader :message, :source_range |
12 all except jruby-9.1.15.0, RSPEC_VERSION=2.14 and jruby-9.1.15.0, RSPEC_VERSION=2.99 ✔ |
6 |
|
|
7 |
def initialize(message, source_range) |
12 all except jruby-9.1.15.0, RSPEC_VERSION=2.14 and jruby-9.1.15.0, RSPEC_VERSION=2.99 ✔ |
8 |
@message = message
|
228 all except jruby-9.1.15.0, RSPEC_VERSION=2.14 and jruby-9.1.15.0, RSPEC_VERSION=2.99 ✔ |
9 |
@source_range = source_range
|
228 all except jruby-9.1.15.0, RSPEC_VERSION=2.14 and jruby-9.1.15.0, RSPEC_VERSION=2.99 ✔ |
10 |
end
|
|
11 |
|
|
12 |
def source_buffer |
12 all except jruby-9.1.15.0, RSPEC_VERSION=2.14 and jruby-9.1.15.0, RSPEC_VERSION=2.99 ✔ |
13 |
source_range.source_buffer |
× |
14 |
end
|
|
15 |
end
|
|
16 |
end
|