Skip to content

Commit 6c091a5

Browse files
committed
[test] Re-enable forward-slash-regex-skipping-allowed.swift
Adjust to account for output differences between asserts and non-asserts builds. rdar://95806819
1 parent 2037006 commit 6c091a5

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

test/StringProcessing/Parse/forward-slash-regex-skipping-allowed.swift

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,13 @@
55
// RUN: %FileCheck -input-file %t/stats.csv %s
66

77
// REQUIRES: swift_in_compiler
8-
// REQUIRES: rdar95806819
98

109
// Make sure we can skip in all of the below cases.
1110

12-
// We don't appear to output a stats entry when it is 0.
13-
// CHECK-NOT: {{"Parse.NumFunctionsParsed"}}
11+
// The printing implementation differs in asserts and no-asserts builds, it will
12+
// either print `"Parse.NumFunctionsParsed" 0` or not print it at all. Make sure
13+
// we don't output any non-zero value.
14+
// CHECK-NOT: {{"Parse.NumFunctionsParsed" [^0]}}
1415

1516
// Balanced `{}`, so okay.
1617
func a() { / {}/ }

0 commit comments

Comments
 (0)