File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -562,16 +562,16 @@ class B[S = self]
562562
563563 interface _C[T = self]
564564 end
565- RBS
566565
567- ( Pathname ( dir ) + 'b.rbs' ) . write ( <<~RBS )
568566 type t[T = self] = untyped
569567 RBS
570568
571569 cli . run ( [ "-I" , dir , "validate" ] )
572570
573- refute_operator stdout . string , :include? , "/a.rbs"
574- assert_include stdout . string , "/b.rbs:1:11...1:15: `self` type is not allowed in this context (RBS::WillSyntaxError)"
571+ assert_include stdout . string , "/a.rbs:1:13...1:17: `self` type is not allowed in this context (RBS::WillSyntaxError)\n "
572+ assert_include stdout . string , "/a.rbs:4:12...4:16: `self` type is not allowed in this context (RBS::WillSyntaxError)\n "
573+ assert_include stdout . string , "/a.rbs:7:17...7:21: `self` type is not allowed in this context (RBS::WillSyntaxError)\n "
574+ assert_include stdout . string , "/a.rbs:10:11...10:15: `self` type is not allowed in this context (RBS::WillSyntaxError)\n "
575575 end
576576 end
577577 end
You can’t perform that action at this time.
0 commit comments