Skip to content

Commit 6820015

Browse files
committed
Get past internal test on CI
1 parent 784ea96 commit 6820015

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

tests/internal.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,9 @@ fn check_forbidden_code() {
2424
}
2525
let c = fs::read_to_string(path).unwrap();
2626
for (line_index, line) in c.lines().enumerate() {
27+
if line.trim().starts_with("//") {
28+
continue;
29+
}
2730
if line_has_print(line) {
2831
if entry.file_name().to_str().unwrap() == "cargo_new.rs" && line.contains("Hello") {
2932
// An exception.

0 commit comments

Comments
 (0)