You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: Tests/XcbeautifyLibTests/ParserTests.swift
+16-4
Original file line number
Diff line number
Diff line change
@@ -384,13 +384,9 @@ final class ParserTests: XCTestCase {
384
384
func testMatchNote()throws{
385
385
letinputs=[
386
386
("note:","Building targets in dependency order"),
387
-
("Note:","Building targets in dependency order"),
388
387
("note:","Metadata extraction skipped. No AppIntents.framework dependency found. (in target 'Target' from project 'Project')"),
389
-
("Note:","Metadata extraction skipped. No AppIntents.framework dependency found. (in target 'Target' from project 'Project')"),
390
388
("note:",#"Run script build phase 'SomeRunScriptBuildPhase' will be run during every build because the option to run the script phase "Based on dependency analysis" is unchecked. (in target 'Target' from project 'Project')"#),
391
-
("Note:",#"Run script build phase 'SomeRunScriptBuildPhase' will be run during every build because the option to run the script phase "Based on dependency analysis" is unchecked. (in target 'Target' from project 'Project')"#),
392
389
("note:","Target dependency graph (12 targets)"),
393
-
("Note:","Target dependency graph (12 targets)"),
394
390
]
395
391
396
392
for(keyword, note)in inputs {
@@ -400,6 +396,22 @@ final class ParserTests: XCTestCase {
400
396
}
401
397
}
402
398
399
+
// Note Output expects a lowercase n.
400
+
func testNegativeMatchNote(){
401
+
letinputs=[
402
+
#"Note: Building targets in dependency order"#,
403
+
#"Note: Metadata extraction skipped. No AppIntents.framework dependency found. (in target 'Target' from project 'Project')"#,
404
+
#"Note: Run script build phase 'SomeRunScriptBuildPhase' will be run during every build because the option to run the script phase "Based on dependency analysis" is unchecked. (in target 'Target' from project 'Project')"#,
0 commit comments