Add comments to testcases that need spurious whitespace

This commit is contained in:
Doug Gregor
2024-02-24 08:33:28 -10:00
parent e298573db7
commit d9faff1dd6
6 changed files with 12 additions and 1 deletions

View File

@@ -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

View File

@@ -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

View File

@@ -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.

View File

@@ -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.

View File

@@ -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'

View File

@@ -38,6 +38,8 @@
import Lib
// Note: extra newlines below ensure that context printing doesn't show the
// lines that we shouldn't see.