[swift-driver-compatibility] Update diagnostic for *-prefix-map args

This commit is contained in:
Owen Voorhees
2020-08-30 14:19:03 -07:00
parent 8094bd9fa6
commit c50e6d6bf3
3 changed files with 6 additions and 6 deletions

View File

@@ -3,7 +3,7 @@
// RUN: %target-swiftc_driver -### -coverage-prefix-map old=n=ew %s 2>&1 | %FileCheck %s -check-prefix CHECK-COMPLEX
// RUN: %target-swiftc_driver -### -coverage-prefix-map old= %s 2>&1 | %FileCheck %s -check-prefix CHECK-EMPTY
// CHECK-INVALID: error: invalid argument 'old' to -coverage-prefix-map
// CHECK-INVALID: error: values for '-coverage-prefix-map' must be in the format 'original=remapped', but 'old' was provided
// CHECK-SIMPLE: coverage-prefix-map old=new
// CHECK-COMPLEX: coverage-prefix-map old=n=ew
// CHECK-EMPTY: coverage-prefix-map old=