We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents c1f18b7 + 6faa2db commit 49ccd3eCopy full SHA for 49ccd3e
spec/unit/mutant/ast/pattern/source_spec.rb
@@ -29,12 +29,11 @@ def apply
29
end
30
31
context 'on non unix newline' do
32
- let(:input) { "a\r\nb" }
33
-
+ let(:string) { "a\r\nb" }
34
let(:line_index) { 0 }
35
36
it 'considers the \r as part of the previous line' do
37
- expect(apply).to eql('a')
+ expect(apply).to eql("a\r")
38
39
40
spec/unit/mutant/matcher/method/singleton_spec.rb
@@ -53,8 +53,6 @@ def arguments
53
it_should_behave_like 'a method matcher' do
54
%i[public protected private].each do |visibility|
55
context 'with %s visibility' % visibility do
56
- let(:expected_visibility) { visibility }
57
58
before do
59
scope.singleton_class.__send__(visibility, method_name)
60
0 commit comments