File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -233,7 +233,8 @@ def b; end
233233 end
234234 eof
235235
236- expect ( log . io . string ) . to match ( /error.*circular reference tag in `Foo#b'/ )
236+ err = "Detected circular reference tag in `Foo#b'. Ignoring reference tag from @param to `Foo#a'."
237+ expect ( log . io . string ) . to include ( err )
237238 expect ( Registry . at ( 'Foo#a' ) . tags ) . to be_empty
238239 expect ( Registry . at ( 'Foo#b' ) . tags ) . to be_empty
239240 end
@@ -246,7 +247,8 @@ def bar; end
246247 end
247248 eof
248249
249- expect ( log . io . string ) . to match ( /error.*circular reference tag in `Foo#bar'/ )
250+ err = "Detected circular reference tag in `Foo#bar'. Ignoring reference tag from @param to `Foo#bar'."
251+ expect ( log . io . string ) . to include ( err )
250252 expect ( Registry . at ( 'Foo#bar' ) . tags ) . to be_empty
251253 end
252254 end
You can’t perform that action at this time.
0 commit comments