Skip to content

Commit eb0cdda

Browse files
authored
Merge pull request #72586 from banjun/fix-check-label-typo-in-tests
Tests: fix typo to be CHECK-LABEL
2 parents bdc3717 + a23810c commit eb0cdda

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

test/SIL/Parser/basic2.sil

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,7 @@ bb0:
154154

155155
// CHECK-LABEL: sil [ossa] @test_beginborrow_parsing :
156156
// CHECK: %1 = begin_borrow [pointer_escape] %0 : $Builtin.NativeObject
157-
// CHECK-LABE: } // end sil function 'test_beginborrow_parsing'
157+
// CHECK-LABEL: } // end sil function 'test_beginborrow_parsing'
158158
sil [ossa] @test_beginborrow_parsing : $@convention(thin) (@owned Builtin.NativeObject) -> () {
159159
bb0(%0 : @owned $Builtin.NativeObject):
160160
%1 = begin_borrow [pointer_escape] %0 : $Builtin.NativeObject

test/stmt/typed_throws_ast.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ func throwsAnything() throws {
4141
func doesNotThrow() { }
4242

4343
func throwsNothing() {
44-
// CHECK-LABE: func_decl{{.*}}"throwsNothing()"
44+
// CHECK-LABEL: func_decl{{.*}}"throwsNothing()"
4545

4646
// CHECK: force_try_expr{{.*}}thrown_error="Never"
4747
try! doesNotThrow()

0 commit comments

Comments
 (0)