@@ -211,25 +211,24 @@ def test_to_detail
211211 detail_front = <<-LOG
212212[Coaster::TestStandardError::ExampleError] status:20
213213 MESSAGE: Test example error (Coaster::TestStandardError::ExampleError) cause{Test sample error (Coaster::TestStandardError::SampleError)}
214- @attributes: {\" frog\" => \" rams\" , \" wat\" => \" cha\" }
214+ @attributes: {\" frog\" => \" rams\" , \" wat\" => \" cha\" }
215215 @coaster: true
216216 @digest_backtrace: #{ e . digest_backtrace }
217217 @digest_message: a8c7c1
218218 @fingerprint: ["a8c7c1"]
219- @ins_var: [\" Coaster::TestStandardError::SampleError\" , {\" h\" => 1}]
220- @ins_varr: {\" dd\" => true}
219+ @ins_var: [\" Coaster::TestStandardError::SampleError\" , {\" h\" => 1}]
220+ @ins_varr: {\" dd\" => true}
221221 @level: \" error\"
222222 @raven: {}
223223 @tags: {}
224224 @tkey: nil
225225 BACKTRACE:
226- #{ __FILE__ } :193:in `rescue in test_to_detail'
227- #{ __FILE__ } :187:in `test_to_detail'
226+ #{ __FILE__ } :193:in 'Coaster::TestStandardError#test_to_detail'
228227LOG
229228 detail_cause_front = <<-LOG
230229CAUSE: [Coaster::TestStandardError::SampleError] status:10
231230 MESSAGE: Test sample error (Coaster::TestStandardError::SampleError)
232- @attributes: {"frog"=> "rams"}
231+ @attributes: {"frog" => "rams"}
233232 @coaster: true
234233 @digest_backtrace: #{ e . cause . digest_backtrace }
235234 @digest_message: cbe233
@@ -239,7 +238,7 @@ def test_to_detail
239238 @tags: {}
240239 @tkey: nil
241240 BACKTRACE:
242- #{ __FILE__ } :188:in ` test_to_detail'
241+ #{ __FILE__ } :188:in 'Coaster::TestStandardError# test_to_detail'
243242LOG
244243 assert detail . start_with? ( detail_front )
245244 cause_ix = ( detail =~ /CAUSE/ )
@@ -331,7 +330,7 @@ def test_to_hash
331330 assert_equal 999999 , e . to_hash [ 'status' ]
332331 assert_equal 500 , e . to_hash [ 'http_status' ]
333332 assert_equal "standard error translation (#{ e . digest_message } #{ bt } )" , e . user_message
334- assert_match ( /undefined local variable or method ` aa'/ , e . to_hash [ 'message' ] )
333+ assert_match ( /undefined local variable or method ' aa'/ , e . to_hash [ 'message' ] )
335334 end
336335
337336 def test_descriptions
0 commit comments