File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed
test/Macros/SwiftifyImport/SizedBy Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change 33// RUN: %empty-directory(%t)
44// RUN: split-file %s %t
55// RUN: %target-swift-frontend %t/test.swift -typecheck -plugin-path %swift-plugin-dir -strict-memory-safety -verify
6- // RUN: %target-swift-frontend %t/test.swift -typecheck -plugin-path %swift-plugin-dir -strict-memory-safety -dump-macro-expansions 2> %t/expansions.txt
7- // RUN: diff %t/expansions.txt %t/expansions.txt.expected
6+ // RUN: %target-swift-frontend %t/test.swift -typecheck -plugin-path %swift-plugin-dir -strict-memory-safety -dump-macro-expansions 2> %t/tmp.txt
7+ // RUN: %FileCheck --dry-run --ignore-runtime-warnings > %t/expansions.txt < %t/tmp.txt
8+ // RUN: diff --strip-trailing-cr %t/expansions.txt %t/expansions.txt.expected
89
910//--- test.swift
1011@_SwiftifyImport ( . sizedBy( pointer: . return, size: " size " ) )
@@ -103,3 +104,4 @@ public func impNullableSpan(p: RawSpan) -> RawSpan {
103104 } ) , byteCount: Int ( size) ) , copying: ( ) )
104105}
105106------------------------------
107+
You can’t perform that action at this time.
0 commit comments