mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
Add comments to testcases that need spurious whitespace
This commit is contained in:
@@ -46,7 +46,8 @@ struct InnerTy {
|
||||
//--- use.swift
|
||||
func use(s: SomeTy, s2: InnerTy) {}
|
||||
|
||||
|
||||
// Note: extra newlines below ensure that context printing doesn't show the
|
||||
// lines that we shouldn't see.
|
||||
|
||||
|
||||
// MISSING_HMAP-NOT: cannot find type 'SomeTy' in scope
|
||||
|
||||
@@ -6,6 +6,8 @@
|
||||
|
||||
x = 8
|
||||
|
||||
// Note: extra newlines below ensure that context printing doesn't show the
|
||||
// lines that we shouldn't see.
|
||||
|
||||
|
||||
// CHECK-NOT: cannot find 'x' in scope
|
||||
|
||||
@@ -9,6 +9,8 @@ public struct Foo {
|
||||
|
||||
private extension String {}
|
||||
|
||||
// Note: extra newlines below ensure that context printing doesn't show the
|
||||
// lines that we shouldn't see.
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -7,6 +7,8 @@
|
||||
|
||||
;blah blah blah
|
||||
|
||||
// Note: extra newlines below ensure that context printing doesn't show the
|
||||
// lines that we shouldn't see.
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -52,6 +52,8 @@ internal func dependsOnHiddenType() -> HiddenType { fatalError() }
|
||||
/// needs to enable testing. We may want to improve upon this in the future.
|
||||
import TestedLib
|
||||
|
||||
// Note: extra newlines below ensure that context printing doesn't show the
|
||||
// lines that we shouldn't see.
|
||||
|
||||
|
||||
// CHECK-NOT-LOADED-NOT: remark: loaded module 'HiddenDep'
|
||||
|
||||
@@ -38,6 +38,8 @@
|
||||
|
||||
import Lib
|
||||
|
||||
// Note: extra newlines below ensure that context printing doesn't show the
|
||||
// lines that we shouldn't see.
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user