We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bbe756b commit 60173c1Copy full SHA for 60173c1
Tests/RegexTests/DiagnosticTests.swift
@@ -101,8 +101,12 @@ extension RegexTests {
101
func testErrors() {
102
// Note: These don't really "test" anything, but good to
103
// see our output...
104
- print("\(ParseError.emptyProperty)")
105
- print("\(ParseError.expectedNumber("abc", kind: .decimal))")
106
- print("\(ParseError.expectedNumber("abc", kind: .hex))")
+ //
+ // FIXME: Convert to stringy tests
+ if enablePrinting {
107
+ print("\(ParseError.emptyProperty)")
108
+ print("\(ParseError.expectedNumber("abc", kind: .decimal))")
109
+ print("\(ParseError.expectedNumber("abc", kind: .hex))")
110
+ }
111
}
112
0 commit comments