@@ -27,7 +27,7 @@ class Test < ActiveSupport::TestCase
27
27
28
28
response = RubyLsp ::Executor . new ( @store , @message_queue ) . execute ( {
29
29
method : "textDocument/codeLens" ,
30
- params : { textDocument : { uri : @uri . to_s } , position : { line : 0 , character : 0 } } ,
30
+ params : { textDocument : { uri : @uri } , position : { line : 0 , character : 0 } } ,
31
31
} ) . response
32
32
33
33
# The first 3 responses are for the test class.
@@ -51,7 +51,7 @@ class Test < ActiveSupport::TestCase
51
51
52
52
response = RubyLsp ::Executor . new ( @store , @message_queue ) . execute ( {
53
53
method : "textDocument/codeLens" ,
54
- params : { textDocument : { uri : @uri . to_s } , position : { line : 0 , character : 0 } } ,
54
+ params : { textDocument : { uri : @uri } , position : { line : 0 , character : 0 } } ,
55
55
} ) . response
56
56
57
57
# The first 3 responses are for the test class.
@@ -74,7 +74,7 @@ class Test < ActiveSupport::TestCase
74
74
75
75
response = RubyLsp ::Executor . new ( @store , @message_queue ) . execute ( {
76
76
method : "textDocument/codeLens" ,
77
- params : { textDocument : { uri : @uri . to_s } , position : { line : 0 , character : 0 } } ,
77
+ params : { textDocument : { uri : @uri } , position : { line : 0 , character : 0 } } ,
78
78
} ) . response
79
79
80
80
# The 3 responses are for the test class, none for the test declaration.
@@ -93,7 +93,7 @@ class Test < ActiveSupport::TestCase
93
93
94
94
response = RubyLsp ::Executor . new ( @store , @message_queue ) . execute ( {
95
95
method : "textDocument/codeLens" ,
96
- params : { textDocument : { uri : @uri . to_s } , position : { line : 0 , character : 0 } } ,
96
+ params : { textDocument : { uri : @uri } , position : { line : 0 , character : 0 } } ,
97
97
} ) . response
98
98
99
99
# The 3 responses are for the test class, none for the test declaration.
@@ -111,7 +111,7 @@ class Test < ActiveSupport::TestCase
111
111
112
112
response = RubyLsp ::Executor . new ( @store , @message_queue ) . execute ( {
113
113
method : "textDocument/codeLens" ,
114
- params : { textDocument : { uri : @uri . to_s } , position : { line : 0 , character : 0 } } ,
114
+ params : { textDocument : { uri : @uri } , position : { line : 0 , character : 0 } } ,
115
115
} ) . response
116
116
117
117
# The 3 responses are for the test class, none for the test declaration.
@@ -129,7 +129,7 @@ class Test < ActiveSupport::TestCase
129
129
130
130
response = RubyLsp ::Executor . new ( @store , @message_queue ) . execute ( {
131
131
method : "textDocument/codeLens" ,
132
- params : { textDocument : { uri : @uri . to_s } , position : { line : 0 , character : 0 } } ,
132
+ params : { textDocument : { uri : @uri } , position : { line : 0 , character : 0 } } ,
133
133
} ) . response
134
134
135
135
# The 3 responses are for the test class, none for the test declaration.
@@ -147,7 +147,7 @@ def test_example
147
147
148
148
response = RubyLsp ::Executor . new ( @store , @message_queue ) . execute ( {
149
149
method : "textDocument/codeLens" ,
150
- params : { textDocument : { uri : @uri . to_s } , position : { line : 0 , character : 0 } } ,
150
+ params : { textDocument : { uri : @uri } , position : { line : 0 , character : 0 } } ,
151
151
} ) . response
152
152
153
153
# The first 3 responses are for the test declaration.
0 commit comments