Skip to content

Commit

Permalink
two double-backslashes
Browse files Browse the repository at this point in the history
one for JSON, one for Windows
  • Loading branch information
zcarlson-signifai committed Jan 19, 2024
1 parent 17795de commit 8272a01
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/bin/duroc_hog.rs
Original file line number Diff line number Diff line change
Expand Up @@ -454,7 +454,7 @@ mod tests {

assert!(
text.contains("\"path\":\"./insecure-file.txt\"")
|| text.contains("\"path\":\".\\insecure-file.txt\"")
|| text.contains("\"path\":\".\\\\insecure-file.txt\"")
);
assert!(!text.contains("output_file.txt"));
}
Expand Down

0 comments on commit 8272a01

Please sign in to comment.