File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
test/Utils/update-verify-tests
utils/update_verify_tests Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -35,19 +35,19 @@ func foobar() {
3535func foo( ) {
3636 // expected-note@+1{{'a' declared here}}
3737 let a = 2 // expected-error@+1{{cannot find 'b' in scope; did you mean 'a'?}}
38- b = a
38+ b = a
3939}
4040
4141func bar( ) {
4242 // expected-error@+1{{cannot find 'a' in scope}}
43- a = 2
43+ a = 2
4444}
4545
4646func baz( ) {
4747 // expected-error@+3{{cannot find 'a' in scope}}
4848 // expected-error@+2{{cannot find 'a'}}
4949 // expected-note@+1{{'b' declared here}}
50- let b = a; let c = a;
50+ let b = a; let c = a;
5151}
5252
5353func qux( ) {
Original file line number Diff line number Diff line change @@ -51,7 +51,7 @@ def render(self):
5151 res = self .content .replace ("{{DIAG}}" , self .diag .render ())
5252 if not res .strip ():
5353 return ""
54- return res
54+ return res . rstrip () + " \n "
5555
5656
5757class Diag :
You can’t perform that action at this time.
0 commit comments