add .DS_Store to .gitignore

Signed-off-by: Rajat Jindal <rajatjindal83@gmail.com>

reduce logging in tests

Signed-off-by: Rajat Jindal <rajatjindal83@gmail.com>
This commit is contained in:
Rajat Jindal 2023-04-24 13:31:04 +05:30
parent f6714d80d2
commit 4282f6b01c
No known key found for this signature in database
GPG Key ID: 6A330C91B3235122
2 changed files with 1 additions and 4 deletions

1
.gitignore vendored
View File

@ -14,3 +14,4 @@ tests/testcases/*-generated
spin-plugin-update.lock
package-lock.json
.spin
.DS_Store

View File

@ -45,11 +45,8 @@ pub fn extract_routes_from_logs(logs: &str) -> Vec<AppRoute> {
let re: Regex = Regex::new(r##"^\s*(.*): (https?://[^\s^\\(]+)(.*)$"##).unwrap();
let mut route_start = false;
let lines = logs.split('\n');
println!("{:?}", lines);
let mut routes: Vec<AppRoute> = vec![];
for line in lines {
println!("line is {:?}", line);
if line.trim() == "" {
continue;
}
@ -63,7 +60,6 @@ pub fn extract_routes_from_logs(logs: &str) -> Vec<AppRoute> {
continue;
}
println!("line is before capturing {:?}", line);
let captures = re.captures(line).unwrap();
let route = AppRoute {